From: Uwe Hermann Date: Wed, 18 Jul 2012 16:52:59 +0000 (+0200) Subject: Remove obsolete and unused DEBUG code. X-Git-Tag: sigrok-firmware-fx2lafw-0.1.0~13 X-Git-Url: https://sigrok.org/gitweb/?a=commitdiff_plain;h=365795313f4f7f204f159f443e06847de7d48264;p=sigrok-firmware-fx2lafw.git Remove obsolete and unused DEBUG code. --- diff --git a/fx2lafw.c b/fx2lafw.c index e376443a..73fbf203 100644 --- a/fx2lafw.c +++ b/fx2lafw.c @@ -163,17 +163,11 @@ BOOL handle_set_interface(BYTE ifc, BYTE alt_ifc) /* (2) Reset data toggles of the EPs in the interface. */ /* Note: RESETTOGGLE() gets the EP number WITH bit 7 set/cleared. */ RESETTOGGLE(0x82); -#ifdef DEBUG - RESETTOGGLE(0x86); -#endif /* (3) Restore EPs to their default conditions. */ /* Note: RESETFIFO() gets the EP number WITHOUT bit 7 set/cleared. */ RESETFIFO(0x02); /* TODO */ -#ifdef DEBUG - RESETFIFO(0x06); -#endif /* (4) Clear the HSNAK bit. Not needed, fx2lib does this. */