Modified for compatibility with Rev.E. hardware
Fork of AkmSensor by
Diff: akmhallswitch.cpp
- Revision:
- 10:5c69b067d88a
- Parent:
- 0:7a00359e701e
- Child:
- 11:cef8dc1cf010
--- a/akmhallswitch.cpp Thu Jun 16 18:36:26 2016 +0000 +++ b/akmhallswitch.cpp Fri Jul 08 22:26:26 2016 +0000 @@ -99,17 +99,6 @@ { msg->setArgument( 1, d0 ? 1 : 0 ); } - -/* - if(primaryId == AkmSensor::AKM_PRIMARY_ID_DUAL_OUTPUT || primaryId == AkmSensor::AKM_PRIMARY_ID_ONECHIP_ENCODER) - { - sprintf(str, "$B%X0%d0%d\r\n",primaryId,d1,d0); - } - else - { - sprintf(str, "$B%X0%d\r\n",primaryId,d1); - } -*/ return AkmSensor::SUCCESS; }