fix
This commit is contained in:
parent
9711f2e820
commit
b73565b998
10
APP/main.c
10
APP/main.c
|
|
@ -9,6 +9,14 @@
|
||||||
extern void MAIN_INIT();
|
extern void MAIN_INIT();
|
||||||
extern void MAIN_START();
|
extern void MAIN_START();
|
||||||
|
|
||||||
|
__WEAK void MAIN_INIT(){
|
||||||
|
asm("nop");
|
||||||
|
}
|
||||||
|
|
||||||
|
__WEAK void MAIN_START(){
|
||||||
|
asm("nop");
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief to extend sram size
|
* @brief to extend sram size
|
||||||
* @param none
|
* @param none
|
||||||
|
|
@ -44,8 +52,6 @@ int main(void) {
|
||||||
delay_init();
|
delay_init();
|
||||||
osKernelInitialize();
|
osKernelInitialize();
|
||||||
|
|
||||||
SystemDelayMs(100);
|
|
||||||
|
|
||||||
MAIN_INIT();
|
MAIN_INIT();
|
||||||
|
|
||||||
MAIN_START();
|
MAIN_START();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue