Skip to content

Commit 5d8e5e6

Browse files
committed
fix behaviour
1 parent 98d2ced commit 5d8e5e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Arduino_AlvikCarrier.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ void Arduino_AlvikCarrier::updateAPDS(){
174174

175175
void Arduino_AlvikCarrier::setIlluminator(uint8_t value){
176176
illuminator_state=value;
177+
prev_illuminator_state = value;
177178
digitalWrite(APDS_LED, value);
178179
}
179180

0 commit comments

Comments
 (0)