Skip to content

Commit 8e111a5

Browse files
authored
Merge pull request #27 from arduino-libraries/devel
Version 1.1.1
2 parents 28fb1d2 + ad4bff2 commit 8e111a5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Arduino_AlvikCarrier
2-
version=1.1.0
2+
version=1.1.1
33
author=Arduino, Giovanni di Dio Bruno, Lucio Rossi
44
maintainer=Arduino <[email protected]>
55
sentence=Library and firmware for Arduino Alvik Carrier board

Diff for: src/Arduino_AlvikCarrier.cpp

+1-1
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

Diff for: src/definitions/robot_definitions.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ const float MOTION_FX_PERIOD = (1000U / MOTION_FX_FREQ);
9393
// Library version
9494
#define VERSION_BYTE_HIGH 1
9595
#define VERSION_BYTE_MID 1
96-
#define VERSION_BYTE_LOW 0
96+
#define VERSION_BYTE_LOW 1
9797

9898
// Battery stats
9999
#define BATTERY_ALERT_MINIMUM_CHARGE 20.0

0 commit comments

Comments
 (0)