Fix typo in CBUS defines (CBUSG_DRIVE1 -> CBUSH_DRIVE1)
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 14 Jan 2015 10:38:35 +0000 (11:38 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 14 Jan 2015 10:38:35 +0000 (11:38 +0100)
Thanks to Rodney Sinclair for the report.

src/ftdi.h

index 07fcd71..42f4cc1 100644 (file)
@@ -360,7 +360,7 @@ enum ftdi_cbus_func  /* FIXME: Recheck value, especially the last */
 enum ftdi_cbush_func  /* FIXME: Recheck value, especially the last */
 {
     CBUSH_TRISTATE = 0, CBUSH_RXLED = 1, CBUSH_TXLED = 2, CBUSH_TXRXLED = 3, CBUSH_PWREN = 4,
-    CBUSH_SLEEP = 5, CBUSH_DRIVE_0 = 6, CBUSG_DRIVE1 = 7, CBUSH_IOMODE = 8, CBUSH_TXDEN =  9,
+    CBUSH_SLEEP = 5, CBUSH_DRIVE_0 = 6, CBUSH_DRIVE1 = 7, CBUSH_IOMODE = 8, CBUSH_TXDEN =  9,
     CBUSH_CLK30 = 10, CBUSH_CLK15 = 11, CBUSH_CLK7_5 = 12, CBUSH_BAT_DETECT = 13,
     CBUSH_BAT_DETECT_NEG = 14, CBUSH_I2C_TXE = 15, CBUSH_I2C_RXF = 16, CBUSH_VBUS_SENSE = 17,
     CBUSH_BB_WR = 18, CBUSH_BB_RD = 19, CBUSH_TIME_STAMP = 20, CBUSH_AWAKE = 21,