aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/boards_private.h
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-06-02 21:02:34 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-06-02 21:04:13 -0400
commit1637300f8f751ccc17ff1a2f383c7fca902c0f8f (patch)
tree79c3a4ec21ed55d352ef2d7730182c1821e3b437 /wirish/boards_private.h
parentdaa792f486ea7ce848c37eee636c73824efec396 (diff)
downloadlibrambutan-1637300f8f751ccc17ff1a2f383c7fca902c0f8f.tar.gz
librambutan-1637300f8f751ccc17ff1a2f383c7fca902c0f8f.zip
Bring timer initialization back to init().
Turns out the F1 code was pretty portable after all, so take it from the F1 boards_setup.cpp and stick it back into boards.cpp. The only change needed was to add a call to the newly-minted timer_has_cc_channel() (and this is necessary on F103 XL-density, anyway). Also assert LeafLabs copyright in boards.cpp. We really need to do this throughout the library; it's basically been rewritten since Perry. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'wirish/boards_private.h')
-rw-r--r--wirish/boards_private.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/wirish/boards_private.h b/wirish/boards_private.h
index e32f298..cdac844 100644
--- a/wirish/boards_private.h
+++ b/wirish/boards_private.h
@@ -58,7 +58,6 @@ namespace wirish {
void board_reset_pll(void);
void board_setup_clock_prescalers(void);
void board_setup_gpio(void);
- void board_setup_timers(void);
void board_setup_usb(void);
}