Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: VL53L1X_mbed
Dependents: HelloWorld_53L1A1_Interrupts 53L1A1_Satellites_MbedOS 53L1A1_Interrupts_MbedOS 53L1A1_Polling_All_MbedOS ... more
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);
     }
     
 	/**