From 627ce970640d9fa63f5993801a9f621206dcdefb Mon Sep 17 00:00:00 2001 From: Igor Vuk Date: Sat, 17 Mar 2018 12:34:34 +0100 Subject: [PATCH] Switch debug from int to bool This gets the module to compile on Ubuntu 17.10 (x86_64) --- GobiSerial/GobiSerial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GobiSerial/GobiSerial.c b/GobiSerial/GobiSerial.c index 82dc0b0..f97688d 100644 --- a/GobiSerial/GobiSerial.c +++ b/GobiSerial/GobiSerial.c @@ -66,7 +66,7 @@ POSSIBILITY OF SUCH DAMAGE. #define MAX_BULK_EPS 6 // Debug flag -static int debug; +static bool debug; // Global pointer to usb_serial_generic_close function // This function is not exported, which is why we have to use a pointer