mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-24 00:35:34 +03:00
MSP to get logic conditions status
This commit is contained in:
parent
cc2b2c6753
commit
50bb6c7fe6
2 changed files with 7 additions and 0 deletions
|
@ -490,6 +490,11 @@ static bool mspFcProcessOutCommand(uint16_t cmdMSP, sbuf_t *dst, mspPostProcessF
|
|||
sbufWriteU8(dst, logicConditions(i)->flags);
|
||||
}
|
||||
break;
|
||||
case MSP2_INAV_LOGIC_CONDITIONS_STATUS:
|
||||
for (int i = 0; i < MAX_LOGIC_CONDITIONS; i++) {
|
||||
sbufWriteU32(dst, logicConditionGetValue(i));
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
case MSP2_COMMON_MOTOR_MIXER:
|
||||
for (uint8_t i = 0; i < MAX_SUPPORTED_MOTORS; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue