fix(radio): early init hooks (#6633)

This commit is contained in:
Raphael Coeffic
2025-10-06 18:23:45 +10:00
committed by GitHub
parent 130110f550
commit fea31ebe67
5 changed files with 2 additions and 11 deletions
@@ -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)))
-5
View File
@@ -63,11 +63,6 @@ void boardBLEarlyInit()
{
videoSwitchInit();
}
#else
void boardBLEarlyInit()
{
pwrOn();
}
#endif
extern "C" void SDRAM_Init();