make style helped revealing my bug :)

This commit is contained in:
Philippe Teuwen 2019-04-02 22:34:00 +02:00
parent 64ce30c06c
commit 07cc0d0a29

View file

@ -1559,11 +1559,12 @@ void __attribute__((noreturn)) AppMain(void) {
// Check if there is a usb packet available
if (usb_poll_validate_length()) {
if (usb_read(rx, sizeof(rx)))
if (usb_read(rx, sizeof(rx))) {
#ifdef WITH_FPC_HOST
reply_via_fpc = 0;
#endif
UsbPacketReceived(rx, sizeof(rx));
UsbPacketReceived(rx, sizeof(rx));
}
}
#ifdef WITH_FPC_HOST
// Check if there is a FPC packet available