diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-12-30 23:13:32 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-12-30 23:13:32 +0000 |
commit | 47664320d338d7cc36f94d1e6261780ec1f7bf00 (patch) | |
tree | 46cd508f692429799401dce9aafcd78f45a93571 /sys/arch/arm/footbridge | |
parent | 4a22b8fe82970c6dc968e5132082a7d8e3b53600 (diff) |
Silence resettodr() unless option DEBUG.
Diffstat (limited to 'sys/arch/arm/footbridge')
-rw-r--r-- | sys/arch/arm/footbridge/todclock.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |