chore: cleanup compiler warnings, disable "unaligned pointer value" warning (#5743)
This commit is contained in:
@@ -411,7 +411,7 @@ void FunctionEditPage::updateSpecialFunctionOneWindow()
|
||||
choice->setAvailableHandler(isSourceAvailableInResetSpecialFunction);
|
||||
choice->setTextHandler([=](int32_t value) {
|
||||
if (value < FUNC_RESET_PARAM_FIRST_TELEM)
|
||||
return TEXT_AT_INDEX(STR_VFSWRESET, value);
|
||||
return std::string(STR_VFSWRESET[value]);
|
||||
else
|
||||
return std::string(
|
||||
g_model.telemetrySensors[value - FUNC_RESET_PARAM_FIRST_TELEM]
|
||||
|
||||
Reference in New Issue
Block a user