Skip to content

Commit eb566e7

Browse files
committed
feat: motion status passing isLifted output
1 parent 28fb1d2 commit eb566e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Arduino_AlvikCarrier.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ bool Arduino_AlvikCarrier::isShaking(){
806806
}
807807

808808
uint8_t Arduino_AlvikCarrier::getMotion(){
809-
return tilt_status | isShaking();
809+
return tilt_status | (isLifted() << 1) | isShaking();
810810
}
811811

812812

0 commit comments

Comments
 (0)