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.
Diff: HMC5883L.cpp
- Revision:
 - 3:14d274e0f9de
 - Parent:
 - 2:8eb755577f83
 - Child:
 - 4:bc4e1201e092
 
diff -r 8eb755577f83 -r 14d274e0f9de HMC5883L.cpp
--- a/HMC5883L.cpp	Thu Nov 01 18:43:52 2012 +0000
+++ b/HMC5883L.cpp	Tue Nov 06 17:25:45 2012 +0000
@@ -117,7 +117,7 @@
     return cmd[1];
 }
 
-void HMC5883L::getXYZ(int output[3])
+void HMC5883L::getXYZ(int16_t output[3])
 {
     char cmd[2];
     char data[6];