From: Gerhard Sittig Date: Fri, 29 Dec 2017 15:05:04 +0000 (+0100) Subject: fx2lafw: fixup missing semicolon after macro "function call" X-Git-Tag: sigrok-firmware-fx2lafw-0.1.6~5 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=14d3dfb79dca9e261dbebd5a381155e5a93ce0e0;p=sigrok-firmware-fx2lafw.git fx2lafw: fixup missing semicolon after macro "function call" Since RESETFIFO() macro currently is "phrased unfortunately", the call site got away with the omission of a semicolon. Adding the missing semicolon does not harm the current implementation, and unbreaks the build when RESETFIFO() gets improved in the future. --- diff --git a/fx2lafw.c b/fx2lafw.c index 629e28c0..646c1f15 100644 --- a/fx2lafw.c +++ b/fx2lafw.c @@ -78,7 +78,7 @@ static void setup_endpoints(void) /* EP2: Reset the FIFOs. */ /* Note: RESETFIFO() gets the EP number WITHOUT bit 7 set/cleared. */ - RESETFIFO(0x02) + RESETFIFO(0x02); /* EP2: Enable AUTOIN mode. Set FIFO width to 8bits. */ EP2FIFOCFG = bmAUTOIN;