diff --git a/M5StickCPlus_FactoryTest2022.ino b/M5StickCPlus_FactoryTest2022.ino index 499716a..b329727 100644 --- a/M5StickCPlus_FactoryTest2022.ino +++ b/M5StickCPlus_FactoryTest2022.ino @@ -1519,7 +1519,7 @@ delay(10); } } - M5.Axp.ScreenBreath(12); // 画面明るさ調整  8〜15 + M5.Axp.ScreenBreath(41); // 画面明るさ調整  8〜15 battery.setSprite(&Disbuff); // バッテリー残量表示 battery.setPosAndSize(160, 1, 1); @@ -1676,4 +1676,4 @@ prev_progress = cur_progress; } } -#endif \ No newline at end of file +#endif diff --git a/wifi.ino b/wifi.ino index b43edb3..1ab4623 100644 --- a/wifi.ino +++ b/wifi.ino @@ -74,7 +74,7 @@ DateStruct.Month = lt.tm_mon + 1; DateStruct.Date = lt.tm_mday; DateStruct.WeekDay = lt.tm_wday; - M5.Rtc.SetData(&DateStruct); + M5.Rtc.SetDate(&DateStruct); RTC_TimeTypeDef TimeStruct; TimeStruct.Hours = lt.tm_hour; @@ -84,4 +84,4 @@ M5.Lcd.print(" RTC updated!\n "); delay(1500); M5.Beep.mute(); -} \ No newline at end of file +}