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.
Dependents: SimpleSample combination combination
Revision 2:9dff393e5e86, committed 2015-09-04
- Comitter:
- coisme
- Date:
- Fri Sep 04 23:39:10 2015 +0000
- Parent:
- 1:a362b9e3aac2
- Commit message:
- maintainance
Changed in this revision
| ak8963.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/ak8963.cpp Tue Aug 18 18:06:02 2015 +0000
+++ b/ak8963.cpp Fri Sep 04 23:39:10 2015 +0000
@@ -98,7 +98,7 @@
data[1+i] = buf[i];
}
- // Writes a start address. Doesn't send a stop condition.
+ // Writes data
if (connection->write((slaveAddress << 1), data, bufLength) != 0) {
// I2C write failed.
return AK8963::ERROR_I2C_WRITE;