Fixed the issue that ESP201 cannot display the ANALOG pin value. (#1083)
Some checks failed
build-ci / build (push) Failing after 25m14s

This commit is contained in:
E2D 2025-03-17 15:19:39 +08:00 committed by GitHub
parent d0bde79aec
commit 8104887442
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -123,8 +123,8 @@ void ESP3DCommands::ESP201(int cmd_params_pos, ESP3DMessage* msg) {
}
}
value = digitalRead(pin);
ok_msg = String(value);
}
ok_msg = String(value);
}
}
}