mirror of https://github.com/ArduPilot/ardupilot
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)
|
||||||
{
|
{
|
||||||
need_write = true;
|
if (corked) {
|
||||||
corked = false;
|
need_write = true;
|
||||||
|
corked = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // CONFIG_HAL_BOARD_SUBTYPE
|
#endif // CONFIG_HAL_BOARD_SUBTYPE
|
||||||
|
|
Loading…
Reference in New Issue