From: Uwe Hermann Date: Thu, 27 Jun 2013 13:12:04 +0000 (+0200) Subject: Bugfix: Tristate pins after acquisition. X-Git-Tag: sigrok-firmware-fx2lafw-0.1.2~3 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=6398a5191b3fb474238a1cbeef661e950dd68f55;p=sigrok-firmware-fx2lafw.git Bugfix: Tristate pins after acquisition. Fix a typo which lead to the data pins not being tri-stated after an aquisition (when the GPIF is idle) but rather being driven. Thanks Ignacio García Pérez and Clemens Novak for reporting and testing. --- diff --git a/gpif-acquisition.c b/gpif-acquisition.c index 53689708..8734abef 100644 --- a/gpif-acquisition.c +++ b/gpif-acquisition.c @@ -54,7 +54,7 @@ static void gpif_setup_registers(void) /* When GPIF is idle, tri-state the data bus. */ /* Bit 7: DONE, bit 0: IDLEDRV. TODO: Set/clear DONE bit? */ - GPIFIDLECS = (1 << 0); + GPIFIDLECS = (0 << 0); /* When GPIF is idle, set CTL0-CTL5 to 0. */ GPIFIDLECTL = 0;