更新文档
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user