initial release
Diff: Components/STMPE1600/stmpe1600_class.h
- Revision:
- 9:367d1f390cb2
- Parent:
- 0:c523920bcc09
- Child:
- 14:8320b5ff96fa
diff -r 8d27ebb4e1eb -r 367d1f390cb2 Components/STMPE1600/stmpe1600_class.h --- a/Components/STMPE1600/stmpe1600_class.h Wed Dec 07 14:49:50 2016 +0000 +++ b/Components/STMPE1600/stmpe1600_class.h Wed Jun 07 12:53:53 2017 +0000 @@ -220,7 +220,7 @@ */ void writeSYS_CTRL (uint8_t data) // data = SOFT_RESET reset the device { - dev_i2c.i2c_write((uint8_t*)data, expdevaddr, SYS_CTRL, 1); + dev_i2c.i2c_write(&data, expdevaddr, SYS_CTRL, 1); } /**