From 3b526873424906fe030f6988aa05b2b670723ca8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 8 Nov 2011 15:46:08 +1100 Subject: [PATCH] dataflash: type fixup for ReadInt() --- libraries/Desktop/support/DataFlash.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/Desktop/support/DataFlash.cpp b/libraries/Desktop/support/DataFlash.cpp index 79003e3843..e80171d17b 100644 --- a/libraries/Desktop/support/DataFlash.cpp +++ b/libraries/Desktop/support/DataFlash.cpp @@ -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