mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-12 10:49:03 +08:00
Fix missing check in ESP220
This commit is contained in:
parent
75f5a12f4d
commit
e2afd80a3b
@ -137,7 +137,7 @@ void ESP3DCommands::ESP220(int cmd_params_pos, ESP3DMessage* msg) {
|
|||||||
}
|
}
|
||||||
hasPin = true;
|
hasPin = true;
|
||||||
#endif // PIN_RESET_FEATURE
|
#endif // PIN_RESET_FEATURE
|
||||||
#ifdef SENSOR_DEVICE
|
#if defined(SENSOR_DEVICE) && defined(ESP3D_SENSOR_PIN )
|
||||||
// SENSOR
|
// SENSOR
|
||||||
tmpstr = String(ESP3D_SENSOR_PIN);
|
tmpstr = String(ESP3D_SENSOR_PIN);
|
||||||
if (!dispatchIdValue(json, " SENSOR", tmpstr.c_str(), target, requestId,
|
if (!dispatchIdValue(json, " SENSOR", tmpstr.c_str(), target, requestId,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user