Skip to content

Commit a5af78b

Browse files
committed
Update timer debug statement
1 parent ccee91a commit a5af78b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

hw/timer/stm32_timer.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,7 @@
3333

3434
#ifdef DEBUG_STM32_TIMER
3535
#define DPRINTF(fmt, ...) \
36-
do { \
37-
int64_t now = qemu_get_clock_ns(vm_clock); \
38-
int64_t secs = now / 1000000000; \
39-
int64_t frac = (now % 1000000000); \
40-
printf("STM32_TIMER (%"PRId64".%09"PRId64"): ", secs, frac); \
41-
printf(fmt, ## __VA_ARGS__); } while (0)
36+
do { printf("STM32_TIMER: " fmt , ## __VA_ARGS__); } while (0)
4237
#else
4338
#define DPRINTF(fmt, ...)
4439
#endif

0 commit comments

Comments
 (0)