Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions libraries/EEPROM/src/EEPROM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,31 +28,31 @@
#include <esp_log.h>

EEPROMClass::EEPROMClass(void)
: _data(0)
: _handle(NULL)
, _data(0)
, _size(0)
, _dirty(false)
, _handle(NULL)
, _name("eeprom")
, _user_defined_size(0)
{
}

EEPROMClass::EEPROMClass(uint32_t sector)
// Only for compatiility, no sectors in nvs!
: _data(0)
: _handle(NULL)
, _data(0)
, _size(0)
, _dirty(false)
, _handle(NULL)
, _name("eeprom")
, _user_defined_size(0)
{
}

EEPROMClass::EEPROMClass(const char* name, uint32_t user_defined_size)
: _data(0)
: _handle(NULL)
, _data(0)
, _size(0)
, _dirty(false)
, _handle(NULL)
, _name(name)
, _user_defined_size(user_defined_size)
{
Expand Down
3 changes: 2 additions & 1 deletion tools/platformio-build.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
"-Wno-unused-parameter",
"-Wno-sign-compare",
"-fstack-protector",
"-fexceptions"
"-fexceptions",
"-Werror=reorder"
],

CXXFLAGS=[
Expand Down