Modified for compatibility with Rev.E. hardware
Fork of AkmSensor by
Diff: ak7451ctrl.cpp
- Revision:
- 47:221ec4b404ec
- Parent:
- 46:5938ad2039b0
diff -r 5938ad2039b0 -r 221ec4b404ec ak7451ctrl.cpp --- a/ak7451ctrl.cpp Wed Dec 13 23:35:23 2017 +0000 +++ b/ak7451ctrl.cpp Thu Dec 14 00:21:43 2017 +0000 @@ -122,7 +122,7 @@ msg->setArgument( 1, angle[0] ); msg->setArgument( 2, angle[1] ); - if( status != SUCCESS){ + if( status != AK7451::SUCCESS){ return AkmSensor::ERROR; } return AkmSensor::SUCCESS;