HAL_VRBrain: cope with nested cork/push

This commit is contained in:
Andrew Tridgell 2017-04-18 10:02:32 +10:00
parent 266f99db93
commit 5c028897a3

View File

@ -531,6 +531,9 @@ void VRBRAINRCOutput::cork()
void VRBRAINRCOutput::push()
{
if (!_corking) {
return;
}
#if RCOUT_DEBUG_LATENCY
hal.gpio->pinMode(55, HAL_GPIO_OUTPUT);
hal.gpio->write(55, 0);