diff --git a/include/ota.h b/include/ota.h index 14dc4d2..9df5c0b 100644 --- a/include/ota.h +++ b/include/ota.h @@ -1,8 +1,8 @@ #pragma once +#include #include #include -#include void ota_setup() { ArduinoOTA.setPort(8266); @@ -45,4 +45,4 @@ void ota_setup() { }); ArduinoOTA.begin(); -} \ No newline at end of file +} diff --git a/templ_platformio_ini b/templ_platformio_ini index 7eba75b..6ce861a 100644 --- a/templ_platformio_ini +++ b/templ_platformio_ini @@ -19,6 +19,15 @@ platform = espressif8266 board = nodemcuv2 framework = arduino +; for pio check +; check_tool = cppcheck +check_tool = clangtidy +check_flags = + ; clangtidy: --fix-errors + clangtidy: lib/httpserver/* lib/treppe/* lib/PCA9685-Arduino/* +check_skip_packages = yes + + board_build.filesystem = littlefs board_build.ldscript = eagle.flash.4m1m.ld extra_scripts = pre:create_gz_files.py