mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
HAL_QURT: cope with nested cork/push
This commit is contained in:
parent
9bdb6838e6
commit
266f99db93
@ -116,8 +116,10 @@ void RCOutput::cork(void)
|
|||||||
|
|
||||||
void RCOutput::push(void)
|
void RCOutput::push(void)
|
||||||
{
|
{
|
||||||
|
if (corked) {
|
||||||
need_write = true;
|
need_write = true;
|
||||||
corked = false;
|
corked = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // CONFIG_HAL_BOARD_SUBTYPE
|
#endif // CONFIG_HAL_BOARD_SUBTYPE
|
||||||
|
Loading…
Reference in New Issue
Block a user