[Horus] Red LED on error. Blue LED otherwise

This commit is contained in:
Bertrand Songis
2016-01-22 23:05:00 +01:00
parent c5f3010295
commit 0eb71cb4f2
4 changed files with 27 additions and 39 deletions
+8
View File
@@ -1492,6 +1492,14 @@ extern void checkBattery();
extern void opentxClose();
extern void opentxInit();
#if defined(PCBHORUS) && !defined(SIMU)
#define LED_ERROR_BEGIN() ledRed()
#define LED_ERROR_END() ledBlue()
#else
#define LED_ERROR_BEGIN()
#define LED_ERROR_END()
#endif
// Re-useable byte array to save having multiple buffers
#define SD_SCREEN_FILE_LENGTH (64)
union ReusableBuffer