Skip to content

Commit

Permalink
preproduction code - not setting a password
Browse files Browse the repository at this point in the history
  • Loading branch information
limpkin committed Apr 9, 2015
1 parent 9681de6 commit 724da98
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Binary file modified source_code/Mooltipass.atsuo
Binary file not shown.
12 changes: 7 additions & 5 deletions source_code/src/mooltipass.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,11 +345,13 @@ int main(void)
{
// Inform script of success
usbSendMessage(CMD_FUNCTIONAL_TEST_RES, 1, &script_return);
// Wait for password to be set
while(eeprom_read_byte((uint8_t*)EEP_BOOT_PWD_SET) != BOOTLOADER_PWDOK_KEY)
{
usbProcessIncoming(USB_CALLER_MAIN);
}
#if !defined(PREPRODUCTION_KICKSTARTER_SETUP)
// Wait for password to be set
while(eeprom_read_byte((uint8_t*)EEP_BOOT_PWD_SET) != BOOTLOADER_PWDOK_KEY)
{
usbProcessIncoming(USB_CALLER_MAIN);
}
#endif
// Display test result
guiDisplayRawString(ID_STRING_TEST_OK);
timerBasedDelayMs(3000);
Expand Down

0 comments on commit 724da98

Please sign in to comment.