summaryrefslogtreecommitdiffstats
path: root/app/main.c
diff options
context:
space:
mode:
authorJames McKenzie <git@madingley.org>2015-08-03 10:34:07 +0100
committerJames McKenzie <git@madingley.org>2015-08-03 10:34:07 +0100
commit061430973e82995368d27ff9081391f9475da3c7 (patch)
tree62ac12e6cff789050ca17f00ac70d85de75e3efd /app/main.c
parent23e5d273ef3e11c8ad463c632daa5a52684bc5bb (diff)
downloadcandlestick-061430973e82995368d27ff9081391f9475da3c7.tar.gz
candlestick-061430973e82995368d27ff9081391f9475da3c7.tar.bz2
candlestick-061430973e82995368d27ff9081391f9475da3c7.zip
fish
Diffstat (limited to 'app/main.c')
-rw-r--r--app/main.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/main.c b/app/main.c
index edca1e6..d1c9b27 100644
--- a/app/main.c
+++ b/app/main.c
@@ -6,9 +6,11 @@ main (void)
{
/*set up pll */
//rcc_clock_setup_in_hse_8mhz_out_24mhz ();
- rcc_clock_setup_in_hse_8mhz_out_72mhz ();
+ //rcc_clock_setup_in_hse_8mhz_out_72mhz ();
//rcc_clock_setup_in_hsi_out_48mhz();
+ rcc_clock_setup_in_hse_8mhz_out_48mhz ();
+
/*turn on clocks to periferals */
rcc_periph_clock_enable (RCC_GPIOA);
rcc_periph_clock_enable (RCC_GPIOB);
@@ -22,7 +24,6 @@ main (void)
keypad_init ();
- lcd_backlight (1);
#if 0
{
@@ -31,12 +32,13 @@ main (void)
lcd_write (buf, 0, 1);
}
#endif
+ lcd_write ("Booting...", 0, 0);
- lcd_write ("hello world", 0, 0);
usb_init ();
+ code_display();
usb_run ();