mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-19 11:33:51 +08:00
Add led blink on successful flash write
This commit is contained in:
parent
95db68fa30
commit
75aeec6507
1 changed files with 5 additions and 0 deletions
|
@ -271,6 +271,11 @@ void RAMFUNC SniffAndStore(uint8_t param) {
|
|||
uint16_t writelen = Flash_WriteData(0, total_data, memoffset + 4 * auth_attempts);
|
||||
if (MF_DBGLEVEL > 1) Dbprintf("[!] Wrote %u bytes into flash mem", writelen);
|
||||
|
||||
// If pwd saved successfully, blink led A three times
|
||||
if (writelen > 0) {
|
||||
SpinErr(0, 200, 5); // blink led A
|
||||
}
|
||||
|
||||
SpinDelay(100);
|
||||
|
||||
// Reset the SPI Baudrate to the default value (24MHz)
|
||||
|
|
Loading…
Add table
Reference in a new issue