Modified for compatibility with Rev.E. hardware
Fork of AkmSensor by
Diff: ap1017ctrl.h
- Revision:
- 37:c76d2edf3426
- Parent:
- 36:aafd15b3291b
- Child:
- 47:221ec4b404ec
--- a/ap1017ctrl.h Fri May 19 23:13:23 2017 +0000 +++ b/ap1017ctrl.h Wed May 24 20:23:22 2017 +0000 @@ -5,8 +5,6 @@ #include "akmsensor.h" #include "AP1017.h" -#define SubIdAp1017 0x01 - /** * Class for handling commands issued to the AP1017 motor driver. */ @@ -18,7 +16,7 @@ * Device Sub-ID. */ typedef enum { - SUB_ID_AP1017 = 0x01, /**< AP1017: ID = 01h */ + SUB_ID_AP1017 = 0x02, /**< AP1017: ID = 02h (5bit ID)*/ } SubIdMotorDriver; // Constructors and Destructors