fix(radio): early init hooks (#6633)
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define __INIT_HOOK __attribute__((section(".init_hook")))
|
||||
#define __INIT_HOOK __attribute__((section(".init_hook"), used))
|
||||
|
||||
#define __CCMRAM __attribute__((section(".ccm"), aligned(4)))
|
||||
#define __DMA __attribute__((section(".ram"), aligned(4)))
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define __INIT_HOOK __attribute__((section(".init_hook")))
|
||||
#define __INIT_HOOK __attribute__((section(".init_hook"), used))
|
||||
|
||||
#define __CCMRAM __attribute__((section(".ccm"), aligned(4)))
|
||||
#define __DMA __attribute__((section(".ram"), aligned(32)))
|
||||
|
||||
@@ -63,11 +63,6 @@ void boardBLEarlyInit()
|
||||
{
|
||||
videoSwitchInit();
|
||||
}
|
||||
#else
|
||||
void boardBLEarlyInit()
|
||||
{
|
||||
pwrOn();
|
||||
}
|
||||
#endif
|
||||
|
||||
extern "C" void SDRAM_Init();
|
||||
|
||||
Reference in New Issue
Block a user