更新文档

This commit is contained in:
2026-05-01 23:03:42 +08:00
parent 5a31ff2179
commit a32baa96e3
14 changed files with 2799 additions and 1853 deletions
+1 -1
View File
@@ -423,7 +423,7 @@ uint8_t DownloadTimeSlots(void)
// 解析JSON并更新时间段配置
uint8_t slot_count = Attendance_ParseTimeSlotsJSON(response_buffer);
if (slot_count > 0) {
if (slot_count > 0 || strstr(response_buffer, "\"time_slots\"") != NULL) {
DEBUG_PRINT("Time slot configuration updated: %d slots\r\n", slot_count);
if (server_version > 0) {
g_stm32_sync_version = server_version;