Update MOVThread.cpp

This commit is contained in:
Ben V. Brown
2021-01-04 21:03:09 +11:00
parent ad9f2a4f95
commit 1cfc12d45f

View File

@@ -82,6 +82,12 @@ inline void readAccelerometer(int16_t &tx, int16_t &ty, int16_t &tz, Orientation
BMA223::getAxisReadings(tx, ty, tz);
rotation = BMA223::getOrientation();
} else
#endif
#ifdef ACCEL_MSA
if (PCBVersion == 3) {
MSA301::getAxisReadings(tx, ty, tz);
rotation = MSA301::getOrientation();
} else
#endif
{
//do nothing :(