Skip to content

Commit 3060abc

Browse files
committed
tentative fix behaviour
1 parent d044805 commit 3060abc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Arduino_AlvikCarrier.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,9 +834,14 @@ void Arduino_AlvikCarrier::updateBehaviours(){
834834
prev_illuminator_state = illuminator_state;
835835
disableIlluminator();
836836
}
837+
if (isLifted()&&!first_lift) {
838+
if (prev_illuminator_state!=0){
839+
disableIlluminator();
840+
}
841+
}
837842
if (!isLifted()&&!first_lift){
838843
if (prev_illuminator_state!=0){
839-
first_lift = true;
844+
//first_lift = true;
840845
enableIlluminator();
841846
}
842847
}

0 commit comments

Comments
 (0)