Skip to content

Commit

Permalink
Suppress more output during tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vintagepc committed Nov 4, 2023
1 parent ac7e8a6 commit 5ad7597
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hw/arm/prusa/stm32f407/stm32f2xx_rtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,10 @@ f2xx_update_current_date_and_time(void *arg)
int delta = new_target_ticks - s->ticks;
//DPRINTF("%s: advancing target by %d ticks\n", __func__, delta);
if (delta < 0 || delta > 1000) {
#ifndef CONFIG_GCOV
printf("DEBUG_STM32F2XX_RTC %s: detected %d mismatch between host and target ticks, "
"jamming new host time into RTC without checking for alarms\n", __func__, delta);
#endif
s->ticks = new_target_ticks;
f2xx_rtc_set_time_and_date_registers(s, &new_target_tm);
} else {
Expand Down

0 comments on commit 5ad7597

Please sign in to comment.