Compilation fix

This commit is contained in:
Bertrand Songis
2019-07-08 11:27:37 +02:00
parent 29f0b6af1a
commit c278175a02
2 changed files with 3 additions and 2 deletions
@@ -166,7 +166,7 @@ extern "C" void AUX_SERIAL_USART_IRQHandler(void)
}
#if defined(CLI)
if (!(getSelectedUsbMode() == USB_SERIAL_MODE)) {
if (getSelectedUsbMode() != USB_SERIAL_MODE) {
// Receive
uint32_t status = AUX_SERIAL_USART->SR;
while (status & (USART_FLAG_RXNE | USART_FLAG_ERRORS)) {