diff --git a/lib/CommandHandler/CommandHandler.cpp b/lib/CommandHandler/CommandHandler.cpp index e1cdafe..52ab0d7 100644 --- a/lib/CommandHandler/CommandHandler.cpp +++ b/lib/CommandHandler/CommandHandler.cpp @@ -53,11 +53,8 @@ bool CommandHandler::parseJSON(const char *cmd) if (strcmp("offset", command) == 0) { - int x = json["x"]; - int y = json["y"]; debugSerial("offset unhandled"); - //this->display->setOffset(x, y); - return true; + return false; } return false; diff --git a/lib/CommandHandler/CommandHandler.h b/lib/CommandHandler/CommandHandler.h index c839e94..a426b08 100644 --- a/lib/CommandHandler/CommandHandler.h +++ b/lib/CommandHandler/CommandHandler.h @@ -44,9 +44,12 @@ public: private: /** - * Internal helpers for printing debug strings + * Internal helper for printing debug strings */ void debugSerial(const char *text); + /** + * @overload + */ void debugSerial(const char *command, const char *text); /** * Display instance diff --git a/platformio.ini b/platformio.ini index 4c06f70..a88f5aa 100644 --- a/platformio.ini +++ b/platformio.ini @@ -1,15 +1,5 @@ -; PlatformIO Project Configuration File -; -; Build options: build flags, source filter -; Upload options: custom upload port, speed and extra flags -; Library options: dependencies, extra library storages -; Advanced options: extra scripting -; -; Please visit documentation for the other options and examples -; https://docs.platformio.org/page/projectconf.html - [env:max7456board] -platform = atmelavr -board = pro16MHzatmega328 +platform = atmelavr +board = pro16MHzatmega328 framework = arduino -lib_deps = ArduinoJson, git+https://github.com/Avamander/max7456 \ No newline at end of file +lib_deps = ArduinoJson, git+https://github.com/Avamander/max7456 \ No newline at end of file