Slow clock speed message update

Signed-off-by: Henry Gabryjelski <henrygab@users.noreply.github.com>
This commit is contained in:
Henry Gabryjelski 2023-11-14 01:52:02 -08:00 committed by GitHub
parent 2b320929fc
commit 627cf6e3d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -432,7 +432,7 @@ static void SendStatus(uint32_t wait) {
delta_time = GetTickCountDelta(start_time);
if ((delta_time < SLCK_CHECK_MS - 1) || (delta_time > SLCK_CHECK_MS + 1)) {
// 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"),
(16 * MAINCK / 1000) / mainf * delta_time / SLCK_CHECK_MS);
}