Skip to content

Commit 6caee2d

Browse files
committed
wait_for_target wrong type to start_t
1 parent cb8adf7 commit 6caee2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Arduino_Alvik.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ bool Arduino_Alvik::is_target_reached(){
431431
}
432432

433433
void Arduino_Alvik::wait_for_target(const int idle_time){ //it is private
434-
int start_t = millis();
434+
unsigned long start_t = millis();
435435

436436
while (true){
437437
if (((millis() - start_t) >= idle_time*1000) && is_target_reached()) {

0 commit comments

Comments
 (0)