ENH:use new command based on AMS type

jira:[none]

Change-Id: I9411aa5b673b4270fe468a07c38d9966bd31a29a
(cherry picked from commit 83de229aa1306e80646b69ea7ba02f6b2e58f818)
This commit is contained in:
tao wang
2025-04-01 13:02:04 +08:00
committed by Noisyfox
parent 3525b3dc3d
commit 925ed4d240
3 changed files with 10 additions and 1 deletions

View File

@@ -4567,6 +4567,12 @@ void StatusPanel::on_ams_refresh_rfid(wxCommandEvent &event)
if (obj->m_extder_data.total_extder_count <= 1 && !obj->is_enable_np) {
has_filament_at_extruder = obj->is_filament_at_extruder();
/*for xp support n3s/n3f*/
if (!ams_it->second->info.empty()) {
use_new_command = true;
}
} else {
use_new_command = true;