Ver código fonte

交换钱箱1/2的控制

liu qidong [url ssh://qidong.liu@10.2.90.253:29418/] 1 mês atrás
pai
commit
ba214aa662
1 arquivos alterados com 4 adições e 4 exclusões
  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;