Update multi protocols (#5461)
* Update multi protocols * SFHSS also has failsafe implemented * Show failsafe setting in Companion * Fix missing protocol names * Update failsafe format and only show bind when module reports to support it
This commit is contained in:
committed by
Bertrand Songis
parent
8b34c96a2d
commit
afd3103506
@@ -122,6 +122,9 @@ struct MultiModuleStatus {
|
||||
|
||||
void getStatusString(char* statusText);
|
||||
|
||||
inline bool isValid() { return (bool)(get_tmr10ms() - lastUpdate < 200); }
|
||||
inline bool supportsFailsafe() { return (bool) (flags & 0x20); }
|
||||
inline bool isWaitingforBind() { return (bool) (flags & 0x10); }
|
||||
inline bool isBinding() { return (bool) (flags & 0x08); }
|
||||
inline bool protocolValid() { return (bool) (flags & 0x04); }
|
||||
inline bool serialMode() { return (bool) (flags & 0x02); }
|
||||
|
||||
Reference in New Issue
Block a user