refactor: collapse command_ams_refresh_rfid and command_ams_refresh_rfid2

This commit is contained in:
Ian Chua
2026-09-23 18:30:05 +08:00
parent 1615390182
commit a2a9b2ce94
10 changed files with 26 additions and 32 deletions
+1 -2
View File
@@ -796,8 +796,7 @@ public:
int command_ams_calibrate(int ams_id);
int command_ams_filament_settings(int ams_id, int slot_id, std::string filament_id, std::string setting_id, std::string tray_color, std::string tray_type, int nozzle_temp_min, int nozzle_temp_max);
int command_ams_select_tray(std::string tray_id);
int command_ams_refresh_rfid(std::string tray_id);
int command_ams_refresh_rfid2(int ams_id, int slot_id);
int command_ams_refresh_rfid(int ams_id, int slot_id);
int command_ams_control(std::string action);
int command_ams_drying_stop();
int command_start_extrusion_cali(int tray_index, int nozzle_temp, int bed_temp, float max_volumetric_speed, std::string setting_id = "");