Ver Fonte

abcio.h: correct the ordering of arguments

H. Peter Anvin há 3 anos atrás
pai
commit
9abfadbc5a
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      fw/abcio.h

+ 1 - 1
fw/abcio.h

@@ -28,7 +28,7 @@ struct abc_dev {
 
     void (*callback_out)(struct abc_dev *, uint8_t data);
     void (*callback_inp)(struct abc_dev *);
-    void (*callback_cmd)(struct abc_dev *, uint8_t addr, uint8_t data);
+    void (*callback_cmd)(struct abc_dev *, uint8_t data, uint8_t addr);
     void (*callback_status)(struct abc_dev *);
 };