mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
dataflash: type fixup for ReadInt()
This commit is contained in:
parent
c3d5d92a71
commit
0e447b12a2
@ -235,7 +235,7 @@ byte DataFlash_Class::ReadByte()
|
||||
|
||||
int16_t DataFlash_Class::ReadInt()
|
||||
{
|
||||
int result;
|
||||
int16_t result;
|
||||
|
||||
result = ReadByte(); // High byte
|
||||
result = (result<<8) | ReadByte(); // Low byte
|
||||
|
Loading…
Reference in New Issue
Block a user