From 47664320d338d7cc36f94d1e6261780ec1f7bf00 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Thu, 30 Dec 2004 23:13:32 +0000 Subject: Silence resettodr() unless option DEBUG. --- sys/arch/arm/footbridge/todclock.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/arch') diff --git a/sys/arch/arm/footbridge/todclock.c b/sys/arch/arm/footbridge/todclock.c index 03579157515..b72be435ecc 100644 --- a/sys/arch/arm/footbridge/todclock.c +++ b/sys/arch/arm/footbridge/todclock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: todclock.c,v 1.3 2004/05/19 03:17:07 drahn Exp $ */ +/* $OpenBSD: todclock.c,v 1.4 2004/12/30 23:13:31 miod Exp $ */ /* $NetBSD: todclock.c,v 1.4 2002/10/02 05:02:30 thorpej Exp $ */ /* @@ -252,9 +252,11 @@ resettodr() rtc.rtc_centi = rtc.rtc_micro = 0; +#ifdef DEBUG printf("resettod: %02d/%02d/%02d%02d %02d:%02d:%02d\n", rtc.rtc_day, rtc.rtc_mon, rtc.rtc_cen, rtc.rtc_year, rtc.rtc_hour, rtc.rtc_min, rtc.rtc_sec); +#endif s = splclock(); todclock_sc->sc_rtc_write(todclock_sc->sc_rtc_arg, &rtc); -- cgit v1.2.3