diff --git a/DCCEXParser.cpp b/DCCEXParser.cpp index 027e6c9..57ed9e7 100644 --- a/DCCEXParser.cpp +++ b/DCCEXParser.cpp @@ -435,14 +435,12 @@ bool DCCEXParser::parseZ(Print *stream, int params, int p[]) return true; case 3: // - Output::create(p[0], p[1], p[2], 1); if (!Output::create(p[0], p[1], p[2], 1)) return false; StringFormatter::send(stream, F("")); return true; case 1: // - return Output::remove(p[0]); if (!Output::remove(p[0])) return false; StringFormatter::send(stream, F("")); @@ -554,15 +552,12 @@ bool DCCEXParser::parseS(Print *stream, int params, int p[]) switch (params) { case 3: // create sensor. pullUp indicator (0=LOW/1=HIGH) - Sensor::create(p[0], p[1], p[2]); if (!Sensor::create(p[0], p[1], p[2])) return false; StringFormatter::send(stream, F("")); return true; case 1: // S id> remove sensor - if (Sensor::remove(p[0])) - return true; if (!Sensor::remove(p[0])) return false; StringFormatter::send(stream, F(""));