PXX synchro using Hearbeat (#6482)

* [PXX] Latency using heartbeat sync optimized for X7 (stable @ 12ms)
* [PXX] Latency using heartbeat sync optimized for XLite Pro (stable @ 9ms)
This commit is contained in:
Bertrand Songis
2019-06-08 10:44:31 +02:00
committed by GitHub
parent 56a31f20d3
commit aff6c3fd1d
37 changed files with 383 additions and 189 deletions
+1 -2
View File
@@ -530,7 +530,6 @@ void menuMainView(event_t event)
#endif
}
else {
// Logical Switches
uint8_t index = 0;
uint8_t y = LCD_H-20;
@@ -552,7 +551,7 @@ void menuMainView(event_t event)
}
// And ! in case of unexpected shutdown
#if defined(LOG_TELEMETRY) || defined(WATCHDOG_DISABLED)
#if defined(LOG_TELEMETRY) || defined(WATCHDOG_DISABLED) || defined(DEBUG_LATENCY)
lcdDrawChar(REBOOT_X, 0*FH, '!', INVERS);
#else
if (unexpectedShutdown) {