mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 16:25:16 +03:00
Review handling of combine INTERNAL_PPM and MULTIMODULE (#4826)
* First attempt * Fix * Review IS_INTERNAL_MODULE_ENABLED() macro
This commit is contained in:
parent
ea5401084c
commit
fbc3bac6d3
3 changed files with 13 additions and 11 deletions
|
@ -147,7 +147,7 @@ void MultiModuleStatus::getStatusString(char *statusText)
|
|||
{
|
||||
if (get_tmr10ms() - lastUpdate > 200) {
|
||||
#if defined(PCBTARANIS) || defined(PCBHORUS)
|
||||
if (g_model.moduleData[INTERNAL_MODULE].rfProtocol != RF_PROTO_OFF)
|
||||
if (IS_INTERNAL_MODULE_ENABLED())
|
||||
strcpy(statusText, STR_DISABLE_INTERNAL);
|
||||
else
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue