Skip to content

Commit

Permalink
Update enroll.ino
Browse files Browse the repository at this point in the history
Rolling back code clarification.
  • Loading branch information
miselico authored Jan 24, 2024
1 parent 5f4324c commit e5c63cc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions examples/enroll/enroll.ino
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,7 @@ void loop() // run over and over again
}
Serial.print("Enrolling ID #");
Serial.println(id);
//assume an error happened
int error = 1;
while (error){
error = getFingerprintEnroll();
}
while (! getFingerprintEnroll() );
}

uint8_t getFingerprintEnroll() {
Expand Down

0 comments on commit e5c63cc

Please sign in to comment.