mirror of https://github.com/ArduPilot/ardupilot
desktop: fixed type of dword eeprom read
This commit is contained in:
parent
338fb1642a
commit
6ad5df2958
|
@ -32,7 +32,7 @@ void eeprom_write_word(uint16_t *p, uint16_t value)
|
|||
pwrite(eeprom_fd, &value, 2, ofs);
|
||||
}
|
||||
|
||||
void eeprom_write_dword(uint16_t *p, uint32_t value)
|
||||
void eeprom_write_dword(uint32_t *p, uint32_t value)
|
||||
{
|
||||
intptr_t ofs = (intptr_t)p;
|
||||
assert(ofs < 4096);
|
||||
|
|
Loading…
Reference in New Issue