Skip to content

Commit

Permalink
Fix FFI signature
Browse files Browse the repository at this point in the history
h/t @nliviu

Closes #4

PUBLISHED_FROM=876a4926b627911348d27fd9f9455db85c31c269
  • Loading branch information
Deomid Ryabkov authored and cesantabot committed Apr 23, 2018
1 parent 2189718 commit 585d0ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mjs_fs/api_i2c.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let I2C = {

// ## **`I2C.close(handle)`**
// Close I2C handle. Return value: none.
close: ffi('void mgos_i2c_close(void *conn)'),
close: ffi('void mgos_i2c_close(void *)'),

// ## **`I2C.write(handle, addr, buf, size, stop)`**
// Send a byte array to I2C.
Expand Down

0 comments on commit 585d0ae

Please sign in to comment.