fix(sim): flight mode name incorrect in the simulator window title bar (#5854)

This commit is contained in:
philmoz
2025-02-03 09:38:07 +10:00
committed by GitHub
parent 615f966bc2
commit b4a7960696
5 changed files with 27 additions and 91 deletions
-8
View File
@@ -129,14 +129,6 @@ uint16_t simu_get_analog(uint8_t idx)
}
static char _stringResult[200];
const char * zchar2string(const char * zstring, int size)
{
if (size > (int)sizeof(_stringResult) ) {
return nullptr;
}
zchar2str(_stringResult, zstring, size);
return _stringResult;
}
const char * nchar2string(const char * string, int size)
{