mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Slow clock speed message update
Signed-off-by: Henry Gabryjelski <henrygab@users.noreply.github.com>
This commit is contained in:
parent
2b320929fc
commit
627cf6e3d5
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ static void SendStatus(uint32_t wait) {
|
||||||
delta_time = GetTickCountDelta(start_time);
|
delta_time = GetTickCountDelta(start_time);
|
||||||
if ((delta_time < SLCK_CHECK_MS - 1) || (delta_time > SLCK_CHECK_MS + 1)) {
|
if ((delta_time < SLCK_CHECK_MS - 1) || (delta_time > SLCK_CHECK_MS + 1)) {
|
||||||
// error > 2% with SLCK_CHECK_MS=50
|
// error > 2% with SLCK_CHECK_MS=50
|
||||||
Dbprintf(_RED_(" Slow Clock speed change detected, TIA needed"));
|
Dbprintf(_RED_(" Slow Clock speed change detected, run `hw tia`"));
|
||||||
Dbprintf(_YELLOW_(" Slow Clock actual speed seems closer to %d kHz"),
|
Dbprintf(_YELLOW_(" Slow Clock actual speed seems closer to %d kHz"),
|
||||||
(16 * MAINCK / 1000) / mainf * delta_time / SLCK_CHECK_MS);
|
(16 * MAINCK / 1000) / mainf * delta_time / SLCK_CHECK_MS);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue