Radio init / masstorage start / massstorage end / shutdown sequences … (#3674)
* Radio init / masstorage start / massstorage end / shutdown sequences reordering: - More traces - Fixes #3642 - Reuses idea of #3662 Still not finished and completely untested * More traces * Compilation fix * Reuses the idea of #3652 * Alarms were checked 2 times on massstorage end
This commit is contained in:
+2
-1
@@ -1426,6 +1426,7 @@ extern uint8_t requestScreenshot;
|
||||
void checkBattery();
|
||||
void opentxClose(uint8_t shutdown=true);
|
||||
void opentxInit();
|
||||
void opentxResume();
|
||||
|
||||
#if defined(PCBHORUS) && !defined(SIMU)
|
||||
#define LED_ERROR_BEGIN() ledRed()
|
||||
@@ -1704,7 +1705,7 @@ FORCEINLINE void convertUnit(getvalue_t & val, uint8_t & unit)
|
||||
#endif
|
||||
|
||||
#if defined(USB_MASS_STORAGE)
|
||||
extern void usbPluggedIn();
|
||||
void usbPluggedIn();
|
||||
#endif
|
||||
|
||||
#include "lua/lua_api.h"
|
||||
|
||||
Reference in New Issue
Block a user