1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-17 05:15:18 +03:00

[Taranis] Overrun errors on S.PORT are now counted and it's possible to display the errors count in the CLI

This commit is contained in:
Bertrand Songis 2016-03-19 12:06:43 +01:00
parent f622d7cf6d
commit 4443ab22ee
3 changed files with 9 additions and 2 deletions

View file

@ -498,11 +498,13 @@ int cliDebugVars(const char ** argv)
#if defined(PCBHORUS)
extern uint32_t ioMutexReq, ioMutexRel;
extern uint32_t sdReadRetries;
serialPrint("ioMutexReq=%d", ioMutexReq);
serialPrint("ioMutexRel=%d", ioMutexRel);
serialPrint("sdReadRetries=%d", sdReadRetries);
#elif defined(PCBTARANIS)
serialPrint("telemetryErrors=%d", telemetryErrors);
#endif
return 0;
}