mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-14 12:08:55 +08:00
Merge pull request #88 from bogiton/master
Add led blink on successful flash write (hf_bog standalone)
This commit is contained in:
commit
1e0bf69966
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…
Reference in a new issue