diff options
Diffstat (limited to 'rtc/ds1302.c')
-rw-r--r-- | rtc/ds1302.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rtc/ds1302.c b/rtc/ds1302.c index ec5616a6776..98dce899a97 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; } |