mirror of
https://github.com/TomNisbet/TommyPROM.git
synced 2025-02-16 11:30:32 +00:00
Print elapsed time for unlock in hardware verifier
This commit is contained in:
parent
4529343228
commit
82acfde3e3
@ -236,7 +236,11 @@ void loop()
|
|||||||
|
|
||||||
case 'u':
|
case 'u':
|
||||||
Serial.println(F("Writing the unlock code to disable Software Write Protect mode."));
|
Serial.println(F("Writing the unlock code to disable Software Write Protect mode."));
|
||||||
|
unsigned long timeStart = micros();
|
||||||
prom.disableSoftwareWriteProtect();
|
prom.disableSoftwareWriteProtect();
|
||||||
|
unsigned long timeEnd = micros();
|
||||||
|
Serial.print("Unlock command time in uSec=");
|
||||||
|
Serial.println(timeEnd - timeStart);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user