Compare commits
3 Commits
69abcf2638
...
0e9f37832b
Author | SHA1 | Date | |
---|---|---|---|
0e9f37832b | |||
217a7024b9 | |||
f9432d89bf |
@ -16,4 +16,4 @@ pipeline:
|
||||
check:
|
||||
image: python
|
||||
- pip install -U platformio
|
||||
- pio check -e esp8266 -e esp32 --skip-packages --fail-on-defect medium --severity medium --severity high --severity low --pattern 'src/*' --pattern 'lib/*'
|
||||
- pio check -e esp8266 -e esp32 --skip-packages --severity medium --severity high --pattern 'src' --pattern 'lib/Figments' --fail-on-defect high
|
||||
|
@ -98,6 +98,8 @@ board_build.filesystem = littlefs
|
||||
platform = espressif32
|
||||
board = featheresp32
|
||||
framework = arduino
|
||||
check_flags =
|
||||
cppcheck: --inline-suppr --suppress=*:*/.pio/*
|
||||
src_build_flags =
|
||||
${common_env_data.src_build_flags}
|
||||
${config_nocolor.src_build_flags}
|
||||
@ -116,6 +118,8 @@ extends = env:esp8266
|
||||
board = esp12e
|
||||
|
||||
[env:esp8266]
|
||||
check_flags =
|
||||
cppcheck: --inline-suppr --suppress=*:*/.pio/*
|
||||
platform = espressif8266
|
||||
board = huzzah
|
||||
framework = arduino
|
||||
|
@ -181,7 +181,7 @@ Platform::getLocalTime(struct tm* timedata)
|
||||
return false;
|
||||
#elif defined(BOARD_ESP32)
|
||||
time_t rawtime;
|
||||
memset(&rawtime, sizeof(rawtime), 0);
|
||||
memset(&rawtime, 0, sizeof(rawtime));
|
||||
time(&rawtime);
|
||||
(*timedata) = (*localtime(&rawtime));
|
||||
return (timedata->tm_year > (2016-1990));
|
||||
|
Loading…
Reference in New Issue
Block a user