Fix H2D AMS humidity display

This commit is contained in:
Noisyfox
2025-05-31 18:54:56 +08:00
parent 49ae4ab8f7
commit 26306d586a

View File

@@ -43,7 +43,7 @@ bool AMSinfo::parse_ams_info(MachineObject *obj, Ams *ams, bool remain_flag, boo
if (!ams) return false;
this->ams_id = ams->id;
if (humidity_flag) {
if (ams->type == 1 || ams->type == 3 || ams->type == N3S_AMS) {
this->ams_humidity = ams->humidity;
}
else{