Skip to content

Commit

Permalink
More error reporting for "createModel" method.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Breitschopp committed Oct 15, 2024
1 parent e4fdd18 commit 66e9f8c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/fingerprint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,12 @@ bool Fingerprint::createTemplate()
logDebugP("Prints did not match");
setLed(Failed);
break;
case FINGERPRINT_PACKETRECIEVEERR:
logDebugP("Packet receive error");
setLed(Failed);
break;
default:
logDebugP("Other error");
logDebugP("Other error: %u", p);
setLed(Failed);
break;
}
Expand Down

0 comments on commit 66e9f8c

Please sign in to comment.