summaryrefslogtreecommitdiffstats
path: root/app/main.c
diff options
context:
space:
mode:
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 ();