[9XR-PRO] Only the first 64k EEPROM could be written because of uint16_t
This commit is contained in:
@@ -624,7 +624,7 @@ void StopEepromThread()
|
||||
if (fp) fclose(fp);
|
||||
}
|
||||
|
||||
void eepromReadBlock (uint8_t * pointer_ram, uint16_t pointer_eeprom, uint16_t size)
|
||||
void eepromReadBlock (uint8_t * pointer_ram, uint32_t pointer_eeprom, uint32_t size)
|
||||
{
|
||||
assert(size);
|
||||
|
||||
@@ -639,7 +639,7 @@ void eepromReadBlock (uint8_t * pointer_ram, uint16_t pointer_eeprom, uint16_t s
|
||||
}
|
||||
|
||||
#if defined(PCBTARANIS)
|
||||
void eepromWriteBlock(uint8_t * pointer_ram, uint16_t pointer_eeprom, uint16_t size)
|
||||
void eepromWriteBlock(uint8_t * pointer_ram, uint32_t pointer_eeprom, uint32_t size)
|
||||
{
|
||||
assert(size);
|
||||
|
||||
|
||||
@@ -372,7 +372,7 @@ void StopEepromThread();
|
||||
#endif
|
||||
|
||||
extern const char * eepromFile;
|
||||
void eepromReadBlock (uint8_t * pointer_ram, uint16_t address, uint16_t size);
|
||||
void eepromReadBlock (uint8_t * pointer_ram, uint32_t address, uint32_t size);
|
||||
|
||||
#define wdt_enable(...) sleep(1/*ms*/)
|
||||
#define wdt_reset() sleep(1/*ms*/)
|
||||
|
||||
Reference in New Issue
Block a user