Skip to content

Commit

Permalink
return id as promised
Browse files Browse the repository at this point in the history
  • Loading branch information
ladyada committed Nov 25, 2017
1 parent 3b7bf7d commit 32b4b12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/fingerprint/fingerprint.ino
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ uint8_t getFingerprintID() {
// found a match!
Serial.print("Found ID #"); Serial.print(finger.fingerID);
Serial.print(" with confidence of "); Serial.println(finger.confidence);

return finger.fingerID;
}

// returns -1 if failed, otherwise returns ID #
Expand Down

0 comments on commit 32b4b12

Please sign in to comment.