From 41253be442e35f71fdf26dac71d78451858a1fc7 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Sun, 4 Dec 2005 11:20:57 +0100 Subject: Fix data overflow (typo?) in rtc/ds1302.c --- rtc/ds1302.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rtc') diff --git a/rtc/ds1302.c b/rtc/ds1302.c index ec5616a677..98dce899a9 100644 --- a/rtc/ds1302.c +++ b/rtc/ds1302.c @@ -226,7 +226,7 @@ rtc_init(void) if (bbclk.year>9) { printf("ds1302: Year was corrupted, fixing\n"); - bbclk.year10=100; /* 2000 - why not? ;) */ + bbclk.year10=100/10; /* 2000 - why not? ;) */ bbclk.year=0; mod=1; } -- cgit v1.2.3