mirror of
				https://github.com/thelsing/knx.git
				synced 2025-10-26 10:26:25 +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();
 | 
			
		||||
    if(eepromptr == nullptr) {
 | 
			
		||||
        EEPROM.begin(KNX_FLASH_SIZE);
 | 
			
		||||
        EEPROM.begin(size);
 | 
			
		||||
        eepromptr = EEPROM.getDataPtr();
 | 
			
		||||
    }
 | 
			
		||||
    return eepromptr;
 | 
			
		||||
 | 
			
		||||
@ -108,7 +108,7 @@ uint8_t * EspPlatform::getEepromBuffer(uint16_t size)
 | 
			
		||||
{
 | 
			
		||||
    uint8_t * eepromptr = EEPROM.getDataPtr();
 | 
			
		||||
    if(eepromptr == nullptr) {
 | 
			
		||||
        EEPROM.begin(KNX_FLASH_SIZE);
 | 
			
		||||
        EEPROM.begin(size);
 | 
			
		||||
        eepromptr = EEPROM.getDataPtr();
 | 
			
		||||
    }
 | 
			
		||||
    return eepromptr;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user