Fix cppcheck errors
This commit is contained in:
parent
e069a73339
commit
fcf37907c8
@ -9,7 +9,7 @@ framework = arduino
|
|||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
check_tool = cppcheck
|
check_tool = cppcheck
|
||||||
check_flags = --enable=all --suppress=missingIncludeSystem --suppress=unusedFunction --suppress=unmatchedSuppression --inline-suppr
|
check_flags = --enable=all --suppress=missingIncludeSystem --suppress=unusedFunction --suppress=unmatchedSuppression --suppress=*:*/.pio/* --inline-suppr
|
||||||
check_skip_packages = yes
|
check_skip_packages = yes
|
||||||
|
|
||||||
board_upload.flash_size = 16MB
|
board_upload.flash_size = 16MB
|
||||||
|
|||||||
@ -7,7 +7,7 @@ class OtaUpdater {
|
|||||||
bool updateAvailable = false;
|
bool updateAvailable = false;
|
||||||
std::string latestVersion;
|
std::string latestVersion;
|
||||||
std::string otaUrl;
|
std::string otaUrl;
|
||||||
size_t otaSize;
|
size_t otaSize = 0;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum OtaUpdaterError {
|
enum OtaUpdaterError {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user