fix: Do not display 0 Err when when info is unavailable (#3890)
* fix: unsuported %zu in arm compiler * fix: do not display 0 Err when when info is unavailable
This commit is contained in:
@@ -162,8 +162,8 @@ void menuRadioModulesVersion(event_t event)
|
||||
#if defined(CROSSFIRE)
|
||||
if (isModuleCrossfire(module)) {
|
||||
char statusText[64] = "";
|
||||
sprintf(statusText, "%d Hz %zu Err",
|
||||
1000000 / getMixerSchedulerPeriod(), (size_t)0/*telemetryErrors*/);
|
||||
sprintf(statusText, "%d Hz"/* %" PRIu32" Err"*/,
|
||||
1000000 / getMixerSchedulerPeriod()/*, UINT32_C(telemetryErrors)*/);
|
||||
lcdDrawText(COLUMN2_X, y, statusText);
|
||||
y += FH;
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user