Skip to content

Commit

Permalink
added clone being permanent
Browse files Browse the repository at this point in the history
  • Loading branch information
geo-rg committed Jan 25, 2018
1 parent 254a6eb commit c6d2968
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Firmware/Chameleon-Mini/Application/Reader14443A.c
Original file line number Diff line number Diff line change
Expand Up @@ -932,10 +932,11 @@ uint16_t Reader14443AAppProcess(uint8_t* Buffer, uint16_t BitCount)
if (cfgid > -1)
{
CommandLinePendingTaskFinished(COMMAND_INFO_OK_WITH_TEXT_ID, "Cloned OK!");

ConfigurationSetById(cfgid);
ApplicationReset();
ApplicationSetUid(CardCharacteristics.UID);
MemoryStore();
SettingsSave();
} else {
CommandLinePendingTaskFinished(COMMAND_INFO_OK_WITH_TEXT_ID, "Clone unsupported!");
}
Expand Down

0 comments on commit c6d2968

Please sign in to comment.