mirror of
https://github.com/thelsing/knx.git
synced 2025-01-21 00:05:43 +01:00
This commit is contained in:
parent
b0153de97f
commit
01979174e3
@ -108,7 +108,7 @@ uint8_t * Esp32Platform::getEepromBuffer(uint16_t size)
|
|||||||
{
|
{
|
||||||
uint8_t * eepromptr = EEPROM.getDataPtr();
|
uint8_t * eepromptr = EEPROM.getDataPtr();
|
||||||
if(eepromptr == nullptr) {
|
if(eepromptr == nullptr) {
|
||||||
EEPROM.begin(KNX_FLASH_SIZE);
|
EEPROM.begin(size);
|
||||||
eepromptr = EEPROM.getDataPtr();
|
eepromptr = EEPROM.getDataPtr();
|
||||||
}
|
}
|
||||||
return eepromptr;
|
return eepromptr;
|
||||||
|
@ -108,7 +108,7 @@ uint8_t * EspPlatform::getEepromBuffer(uint16_t size)
|
|||||||
{
|
{
|
||||||
uint8_t * eepromptr = EEPROM.getDataPtr();
|
uint8_t * eepromptr = EEPROM.getDataPtr();
|
||||||
if(eepromptr == nullptr) {
|
if(eepromptr == nullptr) {
|
||||||
EEPROM.begin(KNX_FLASH_SIZE);
|
EEPROM.begin(size);
|
||||||
eepromptr = EEPROM.getDataPtr();
|
eepromptr = EEPROM.getDataPtr();
|
||||||
}
|
}
|
||||||
return eepromptr;
|
return eepromptr;
|
||||||
|
Loading…
Reference in New Issue
Block a user