HAL_QURT: cope with nested cork/push

This commit is contained in:
Andrew Tridgell 2017-04-18 10:02:25 +10:00
parent 9bdb6838e6
commit 266f99db93
1 changed files with 4 additions and 2 deletions

View File

@ -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