AP_Bootloader: fix return check for otg2 serial deadline

This commit is contained in:
bugobliterator 2024-06-24 11:22:58 +10:00 committed by Peter Barker
parent 6ce7e179d7
commit 2363e972bc
1 changed files with 1 additions and 1 deletions

View File

@ -506,7 +506,7 @@ bool update_otg2_serial_forward()
chnWriteTimeout(&SDU2, data, n, TIME_IMMEDIATE);
}
return (AP_HAL::millis() > otg2_serial_deadline_ms);
return (AP_HAL::millis() < otg2_serial_deadline_ms);
}
#endif