From 07cc0d0a29fa29136360a3769d347d79a1084d21 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Tue, 2 Apr 2019 22:34:00 +0200 Subject: [PATCH] make style helped revealing my bug :) --- armsrc/appmain.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/armsrc/appmain.c b/armsrc/appmain.c index d0a512c0f..c1967663e 100644 --- a/armsrc/appmain.c +++ b/armsrc/appmain.c @@ -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