fix accelsim: ACC_READ cannot be 0 (it's used to check if a bit is set)

before that, accel data was all 0, but since the gyrosim also publishes
accel data, it was not a problem.
This commit is contained in:
Beat Küng
2016-09-20 08:36:06 +02:00
committed by Julian Oes
parent d7ed47e2e5
commit 27aaf244af
@@ -75,7 +75,7 @@
#define DIR_READ (1<<7)
#define DIR_WRITE (0<<7)
#define ACC_READ (0<<6)
#define ACC_READ (1<<5)
#define MAG_READ (1<<6)
extern "C" { __EXPORT int accelsim_main(int argc, char *argv[]); }