From 389a5e087742c98cf057b3b0698f9293e2e23680 Mon Sep 17 00:00:00 2001 From: tpu Date: Sat, 14 Jun 2025 12:54:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=A8=E6=98=9F=E6=9C=9F?= =?UTF-8?q?=E6=97=A5=E5=AF=B9=E6=97=B6=E5=B4=A9=E6=BA=83=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/user_config.h | 2 +- src/user_custs1_impl.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/config/user_config.h b/src/config/user_config.h index c754f53..3c5e950 100644 --- a/src/config/user_config.h +++ b/src/config/user_config.h @@ -55,7 +55,7 @@ **************************************************************************************** */ -#define EPD_VERSION 0xA50f0003 +#define EPD_VERSION 0xA50f0004 /* diff --git a/src/user_custs1_impl.c b/src/user_custs1_impl.c index e539d83..c6137c1 100644 --- a/src/user_custs1_impl.c +++ b/src/user_custs1_impl.c @@ -111,7 +111,7 @@ static int jieqi_info[] = #define xiaohan_2020 451804 -int year=2025, month=0, date=0, wday=2; +int year=2025, month=0, date=0, wday=3; int l_year=4, l_month=11, l_date=1; int hour=0, minute=0, second=0; @@ -276,7 +276,7 @@ void clock_set(uint8_t *buf) hour = buf[5]; minute = buf[6]; second = buf[7]; - wday = buf[8]-1; + wday = buf[8]; l_year = buf[9]; l_month= buf[10]; l_date = buf[11]-1; @@ -319,7 +319,7 @@ static char *jieqi_name[] = { "小暑", "大暑", "立秋", "处暑", "白露", "秋分", "寒露", "霜降", "立冬", "小雪", "大雪", "冬至", }; -static char *wday_str[] = {"一", "二", "三", "四", "五", "六", "日"}; +static char *wday_str[] = {"日", "一", "二", "三", "四", "五", "六"}; static char *lday_str_lo[] = {"一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "冬", "腊", "正"}; static char *lday_str_hi[] = {"初", "十", "廿", "二", "三"};