mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-23 22:55:37 -07:00
Merge pull request #2174 from henrygab/slow_clock_tia_msg
Slow clock speed message update
This commit is contained in:
commit
cd55ba313a
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