[9XR-PRO] Only the first 64k EEPROM could be written because of uint16_t

This commit is contained in:
Bertrand Songis
2015-08-03 22:36:57 +02:00
parent 151fb59e27
commit 3f6621b087
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -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);