Merge pull request #8 from claneys/master
authorChristopher Peplin <github@rhubarbtech.com>
Sat, 1 Apr 2017 20:14:03 +0000 (16:14 -0400)
committerGitHub <noreply@github.com>
Sat, 1 Apr 2017 20:14:03 +0000 (16:14 -0400)
Fix: wrong type not compatible with signature in

README.mkd

index 8f9574f..aa0d7fd 100644 (file)
@@ -19,7 +19,7 @@ system:
     // required, this must send a single CAN message with the given arbitration
     // ID (i.e. the CAN message ID) and data. The size will never be more than 8
     // bytes.
-    bool send_can(const uint16_t arbitration_id, const uint8_t* data,
+    bool send_can(const uint32_t arbitration_id, const uint8_t* data,
             const uint8_t size) {
         ...
     }