Skip to content

Commit

Permalink
Blink much longer, so the user would notice
Browse files Browse the repository at this point in the history
See Nitrokey/nitrokey-pro-firmware@c7debe2

Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
  • Loading branch information
szszszsz committed Mar 18, 2019
1 parent acca3d6 commit ffd1d10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OTP/report_protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -1663,12 +1663,12 @@ u8 cmd_verify_code(u8 *report, u8 *output) {
if (TRUE == code_correct)
{
LED_ClearFlashing();
LED_GreenFlashNTimes(3);
LED_GreenFlashNTimes(20);
}
else
{
LED_ClearFlashing();
LED_RedFlashNTimes(10);
LED_RedFlashNTimes(1000);
}
output[OUTPUT_CMD_RESULT_OFFSET] = (u8) (code_correct ? 1 : 0);
output[OUTPUT_CMD_RESULT_OFFSET+1] = (u8) result;
Expand Down

0 comments on commit ffd1d10

Please sign in to comment.