mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
syntax
This commit is contained in:
parent
501c29f76d
commit
bd857b263f
1 changed files with 3 additions and 3 deletions
|
@ -175,8 +175,8 @@ uint8_t Flash_ReadID(void) {
|
||||||
FlashSendByte(0x00);
|
FlashSendByte(0x00);
|
||||||
|
|
||||||
uint8_t man_id = FlashSendByte(0xFF);
|
uint8_t man_id = FlashSendByte(0xFF);
|
||||||
uint8_t dev_id = FlashSendLastByte(0xFF);
|
uint8_t dev_id = FlashSendLastByte(0xFF);
|
||||||
|
|
||||||
if ( MF_DBGLEVEL > 3 ) Dbprintf("Flash ReadID | Man ID %02x | Device ID %02x", man_id, dev_id);
|
if ( MF_DBGLEVEL > 3 ) Dbprintf("Flash ReadID | Man ID %02x | Device ID %02x", man_id, dev_id);
|
||||||
|
|
||||||
if ( (man_id == WINBOND_MANID ) && (dev_id == WINBOND_DEVID) )
|
if ( (man_id == WINBOND_MANID ) && (dev_id == WINBOND_DEVID) )
|
||||||
|
@ -309,7 +309,7 @@ bool Flash_WipeMemory() {
|
||||||
|
|
||||||
// enable the flash write
|
// enable the flash write
|
||||||
void Flash_WriteEnable() {
|
void Flash_WriteEnable() {
|
||||||
FlashSendLastByte(WRITEENABLE);
|
FlashSendLastByte(WRITEENABLE);
|
||||||
if ( MF_DBGLEVEL > 3 ) Dbprintf("Flash Write enabled");
|
if ( MF_DBGLEVEL > 3 ) Dbprintf("Flash Write enabled");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue