Sfoglia il codice sorgente

交换钱箱1/2的控制

liu qidong [url ssh://qidong.liu@10.2.90.253:29418/] 1 mese fa
parent
commit
ba214aa662
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 4 4
      cash_drawers.c

+ 4 - 4
cash_drawers.c

@@ -18,11 +18,11 @@
 #define MINOR_COUNT 2
 #define BUFFER_SIZE 4
 
-#define GPIO0_CTL 0xFD6D0B50
-#define GPIO0_STATUS 0xFD6D0940
+#define GPIO1_CTL 0xFD6D0B50
+#define GPIO1_STATUS 0xFD6D0940
 
-#define GPIO1_CTL 0xFD6D0B60
-#define GPIO1_STATUS 0xFD6D0950
+#define GPIO0_CTL 0xFD6D0B60
+#define GPIO0_STATUS 0xFD6D0950
 
 struct cashd_device {
     unsigned char *buffer;