mirror of https://github.com/ArduPilot/ardupilot
HAL_QURT: cope with nested cork/push
This commit is contained in:
parent
9bdb6838e6
commit
266f99db93
|
@ -116,9 +116,11 @@ 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