Fix cppcheck errors
This commit is contained in:
parent
e069a73339
commit
fcf37907c8
@ -9,7 +9,7 @@ framework = arduino
|
||||
monitor_speed = 115200
|
||||
upload_speed = 921600
|
||||
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
|
||||
|
||||
board_upload.flash_size = 16MB
|
||||
|
||||
@ -7,7 +7,7 @@ class OtaUpdater {
|
||||
bool updateAvailable = false;
|
||||
std::string latestVersion;
|
||||
std::string otaUrl;
|
||||
size_t otaSize;
|
||||
size_t otaSize = 0;
|
||||
|
||||
public:
|
||||
enum OtaUpdaterError {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user