FIX: wait the new result about 3 seconds

jira: [STUDIO-8518]
Change-Id: Ida64d94ab44e71473096ae55ef2db50d7c8286ca
(cherry picked from commit 93446f05e1f4b53a8db6067acb4ac5bd1e53cff5)
This commit is contained in:
xin.zhang
2025-01-23 14:49:33 +08:00
committed by Noisyfox
parent 8a730414c9
commit 132b1756f6
2 changed files with 22 additions and 10 deletions

View File

@@ -35,6 +35,8 @@
#define HOLD_COUNT_MAX 3
#define HOLD_COUNT_CAMERA 6
#define HOLD_TIME_MAX 3 // 3 seconds
#define GET_VERSION_RETRYS 10
#define RETRY_INTERNAL 2000
@@ -681,7 +683,7 @@ public:
bool ams_auto_switch_filament_flag { false };
bool ams_air_print_status { false };
bool ams_support_virtual_tray { true };
int ams_user_setting_hold_count = 0;
time_t ams_user_setting_start = 0;
AmsStatusMain ams_status_main;
int ams_status_sub;
int ams_version = 0;