From: Uwe Hermann Date: Tue, 21 Feb 2012 00:12:03 +0000 (+0100) Subject: Use #defines for REVCTL bits. X-Git-Tag: sigrok-firmware-fx2lafw-0.1.0~80 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=e7434142313d9f42fb476a13f08d379900ba5b2d;p=sigrok-firmware-fx2lafw.git Use #defines for REVCTL bits. --- diff --git a/fx2lafw.c b/fx2lafw.c index bc97e5a7..1b0b90e3 100644 --- a/fx2lafw.c +++ b/fx2lafw.c @@ -370,7 +370,7 @@ void hispeed_isr(void) interrupt HISPEED_ISR void main(void) { /* Set DYN_OUT and ENH_PKT bits, as recommended by the TRM. */ - REVCTL = (1 << 1) | (1 << 0); + REVCTL = bmNOAUTOARM | bmSKIPCOMMIT; got_sud = FALSE;