mirror of
https://github.com/luc-github/ESP3D.git
synced 2025-10-31 11:56:48 -07:00
Fix missing check in ESP220
This commit is contained in:
@@ -137,7 +137,7 @@ void ESP3DCommands::ESP220(int cmd_params_pos, ESP3DMessage* msg) {
|
||||
}
|
||||
hasPin = true;
|
||||
#endif // PIN_RESET_FEATURE
|
||||
#ifdef SENSOR_DEVICE
|
||||
#if defined(SENSOR_DEVICE) && defined(ESP3D_SENSOR_PIN )
|
||||
// SENSOR
|
||||
tmpstr = String(ESP3D_SENSOR_PIN);
|
||||
if (!dispatchIdValue(json, " SENSOR", tmpstr.c_str(), target, requestId,
|
||||
|
||||
Reference in New Issue
Block a user