]> sigrok.org Git - sigrok-firmware-fx2lafw.git/commitdiff
Use #defines for REVCTL bits.
authorUwe Hermann <redacted>
Tue, 21 Feb 2012 00:12:03 +0000 (01:12 +0100)
committerUwe Hermann <redacted>
Tue, 21 Feb 2012 00:12:03 +0000 (01:12 +0100)
fx2lafw.c

index bc97e5a711ea5e5be01b6c90fd2bd89d7299dae2..1b0b90e3d52eecb11c07153de8f22b50df8e5cfe 100644 (file)
--- 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;