#7210 merged (thanks Fiam)

This commit is contained in:
Bertrand Songis
2020-01-03 12:32:21 +01:00
parent de07f0dde4
commit cf7e45d7cd
4 changed files with 17 additions and 18 deletions
+8
View File
@@ -1979,12 +1979,20 @@ void opentxInit()
WDG_ENABLE(WDG_DURATION);
}
#if defined(SEMIHOSTING)
extern "C" void initialise_monitor_handles();
#endif
#if defined(SIMU)
void simuMain()
#else
int main()
#endif
{
#if defined(SEMIHOSTING)
initialise_monitor_handles();
#endif
#if defined(STM32)
TRACE("reusableBuffer: modelSel=%d, moduleSetup=%d, calib=%d, sdManager=%d, hardwareAndSettings=%d, spectrumAnalyser=%d, usb=%d",
sizeof(reusableBuffer.modelsel),