mma8451q driver with a few minor modifications
Fork of lib_mma8451q by
Revision 7:a68d2ad81d11, committed 2017-07-31
- Comitter:
- shaunkrnelson
- Date:
- Mon Jul 31 13:47:22 2017 -0400
- Parent:
- 6:828b08201d8b
- Commit message:
- Add header ifdef wrapper
Changed in this revision
mma8451q.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 828b08201d8b -r a68d2ad81d11 mma8451q.h --- a/mma8451q.h Fri Aug 12 14:13:17 2016 +0000 +++ b/mma8451q.h Mon Jul 31 13:47:22 2017 -0400 @@ -1,3 +1,6 @@ +#ifndef __MMA8451Q_H__ +#define __MMA8451Q_H__ + #include "mbed.h" /* Xtrinsic accelerometer */ @@ -196,3 +199,4 @@ MMA_orientation orientation; }; +#endif