mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
fix: 'data detectclock' - now prints clock again...
This commit is contained in:
parent
81f8749caf
commit
64bae8c8be
1 changed files with 5 additions and 5 deletions
|
@ -121,7 +121,7 @@ int GetAskClock(const char *str, bool printAns) {
|
|||
}
|
||||
// Only print this message if we're not looping something
|
||||
if (printAns || g_debugMode)
|
||||
PrintAndLogEx(DEBUG, "Auto-detected clock rate: %d, Best Starting Position: %d", clock, idx);
|
||||
PrintAndLogEx(SUCCESS, "Auto-detected clock rate: %d, Best Starting Position: %d", clock, idx);
|
||||
|
||||
return clock;
|
||||
}
|
||||
|
@ -140,7 +140,7 @@ uint8_t GetPskCarrier(const char *str, bool printAns) {
|
|||
if (( fc >> 8) == 10 && carrier == 8) return 0;
|
||||
// Only print this message if we're not looping something
|
||||
if (printAns)
|
||||
PrintAndLogEx(NORMAL, "Auto-detected PSK carrier rate: %d", carrier);
|
||||
PrintAndLogEx(SUCCESS, "Auto-detected PSK carrier rate: %d", carrier);
|
||||
return carrier;
|
||||
}
|
||||
|
||||
|
@ -162,7 +162,7 @@ int GetPskClock(const char* str, bool printAns) {
|
|||
setClockGrid(clock, firstPhaseShiftLoc);
|
||||
// Only print this message if we're not looping something
|
||||
if (printAns)
|
||||
PrintAndLogEx(NORMAL, "Auto-detected clock rate: %d", clock);
|
||||
PrintAndLogEx(SUCCESS, "Auto-detected clock rate: %d", clock);
|
||||
return clock;
|
||||
}
|
||||
|
||||
|
@ -184,7 +184,7 @@ int GetNrzClock(const char* str, bool printAns) {
|
|||
setClockGrid(clock, clkStartIdx);
|
||||
// Only print this message if we're not looping something
|
||||
if (printAns)
|
||||
PrintAndLogEx(NORMAL, "Auto-detected clock rate: %d", clock);
|
||||
PrintAndLogEx(SUCCESS, "Auto-detected clock rate: %d", clock);
|
||||
return clock;
|
||||
}
|
||||
//by marshmellow
|
||||
|
@ -203,7 +203,7 @@ int GetFskClock(const char* str, bool printAns) {
|
|||
|
||||
if ((fc1==10 && fc2==8) || (fc1==8 && fc2==5)){
|
||||
if (printAns)
|
||||
PrintAndLogEx(NORMAL, "Detected Field Clocks: FC/%d, FC/%d - Bit Clock: RF/%d", fc1, fc2, rf1);
|
||||
PrintAndLogEx(SUCCESS, "Detected Field Clocks: FC/%d, FC/%d - Bit Clock: RF/%d", fc1, fc2, rf1);
|
||||
setClockGrid(rf1, firstClockEdge);
|
||||
return rf1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue