summaryrefslogtreecommitdiffstats
path: root/keyboards/cannonkeys/satisfaction75/satisfaction_oled.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/cannonkeys/satisfaction75/satisfaction_oled.c')
-rw-r--r--keyboards/cannonkeys/satisfaction75/satisfaction_oled.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/keyboards/cannonkeys/satisfaction75/satisfaction_oled.c b/keyboards/cannonkeys/satisfaction75/satisfaction_oled.c
index 4e22587db8..6553bd1300 100644
--- a/keyboards/cannonkeys/satisfaction75/satisfaction_oled.c
+++ b/keyboards/cannonkeys/satisfaction75/satisfaction_oled.c
@@ -91,8 +91,8 @@ void draw_default(){
if (hour == 0){
hour = 12;
}
- char hour_str[2] = "";
- char min_str[2] = "";
+ char hour_str[3] = "";
+ char min_str[3] = "";
sprintf(hour_str, "%02d", hour);
sprintf(min_str, "%02d", minute);
@@ -199,11 +199,11 @@ void draw_clock(){
if (hour == 0){
hour = 12;
}
- char hour_str[2] = "";
- char min_str[2] = "";
- char year_str[4] = "";
- char month_str[2] = "";
- char day_str[2] = "";
+ char hour_str[3] = "";
+ char min_str[3] = "";
+ char year_str[5] = "";
+ char month_str[3] = "";
+ char day_str[3] = "";
sprintf(hour_str, "%02d", hour);
sprintf(min_str, "%02d", minute);