mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
desktop: fixed type of dword eeprom read
This commit is contained in:
parent
62e92f406e
commit
e187ff149f
@ -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
Block a user