Skip to content

Commit 4002636

Browse files
committed
Controller Config read twice arduino#363
1 parent e95b75e commit 4002636

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: libraries/MySensors/core/MySensorCore.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,6 @@ void _begin() {
123123
#elif defined(MY_RADIO_FEATURE)
124124
// Read settings from eeprom
125125
hwReadConfigBlock((void*)&_nc, (void*)EEPROM_NODE_ID_ADDRESS, sizeof(NodeConfig));
126-
// Read latest received controller configuration from EEPROM
127-
hwReadConfigBlock((void*)&_cc, (void*)EEPROM_CONTROLLER_CONFIG_ADDRESS, sizeof(ControllerConfig));
128126
#ifdef MY_OTA_FIRMWARE_FEATURE
129127
// Read firmware config from EEPROM, i.e. type, version, CRC, blocks
130128
hwReadConfigBlock((void*)&_fc, (void*)EEPROM_FIRMWARE_TYPE_ADDRESS, sizeof(NodeFirmwareConfig));

0 commit comments

Comments
 (0)