Permalink
Browse files

Fix clock so it reads 00:25 instead of 0:25. The former reads better

  • Loading branch information...
1 parent 205ea17 commit 1d14eb8b44bb3ebfa4ac8a820de8b7b432285cb8 @anilgulecha anilgulecha committed Sep 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 logic/clock.c
View
@@ -391,7 +391,7 @@ void display_time(u8 line, u8 update)
switch(sTime.drawFlag)
{
case 3:
- display_hours_12_or_24(switch_seg(line, LCD_SEG_L1_3_2, LCD_SEG_L2_3_2), sTime.hour, 2, 1, SEG_ON);
+ display_hours_12_or_24(switch_seg(line, LCD_SEG_L1_3_2, LCD_SEG_L2_3_2), sTime.hour, 2, 0, SEG_ON);
case 2:
display_chars(switch_seg(line, LCD_SEG_L1_1_0, LCD_SEG_L2_1_0), itoa(sTime.minute, 2, 0), SEG_ON);
}

0 comments on commit 1d14eb8

Please sign in to comment.