X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=fx2lafw.c;h=79de09629d526d74da6b12f9fc92aef5f9d7a946;hb=e16027445b508591ec8830fd74d0542e52a1c1d3;hp=e376443a3d527b45fc1629a7f3d829fb813f12e8;hpb=c7e02d8c24b6f89a274b33300dd47925f5ffb69f;p=sigrok-firmware-fx2lafw.git diff --git a/fx2lafw.c b/fx2lafw.c index e376443a..79de0962 100644 --- a/fx2lafw.c +++ b/fx2lafw.c @@ -1,5 +1,5 @@ /* - * This file is part of the fx2lafw project. + * This file is part of the sigrok-firmware-fx2lafw project. * * Copyright (C) 2011-2012 Uwe Hermann * @@ -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. */