dont need to init clock at first in bootloader

This commit is contained in:
Conor Patrick 2019-02-06 18:05:22 -05:00
parent e3971a5e0f
commit f470e9a9cd

View File

@ -24,6 +24,7 @@
#include <stdint.h> #include <stdint.h>
#include "stm32l4xx_ll_rcc.h" #include "stm32l4xx_ll_rcc.h"
#include "stm32l4xx_ll_gpio.h"
#include "stm32l4xx.h" #include "stm32l4xx.h"
#include "cbor.h" #include "cbor.h"
@ -85,8 +86,9 @@ int main(int argc, char * argv[])
); );
// device_init(); // device_init();
SystemClock_Config_LF();
init_gpio(); init_gpio();
init_millisecond_timer(1); init_millisecond_timer(1);
#if DEBUG_LEVEL > 0 #if DEBUG_LEVEL > 0