1
0
forked from me/IronOS

Fix build for MSA

This commit is contained in:
Ben V. Brown
2021-01-04 21:37:04 +11:00
parent cfb92396c2
commit a5a7463178
3 changed files with 95 additions and 98 deletions

View File

@@ -34,8 +34,9 @@ Orientation MSA301::getOrientation() {
return Orientation::ORIENTATION_LEFT_HAND;
case 96:
return Orientation::ORIENTATION_RIGHT_HAND;
default:
return Orientation::ORIENTATION_FLAT;
}
return Orientation::ORIENTATION_FLAT;
}
void MSA301::getAxisReadings(int16_t &x, int16_t &y, int16_t &z) {