From 8853a104f0863ab2dc8d180d1932de1a640c051f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 17 Aug 2012 16:28:45 +1000 Subject: [PATCH] APM: fixed SITL build --- ArduPlane/Log.pde | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ArduPlane/Log.pde b/ArduPlane/Log.pde index 5f76937325..f1cc73b6ab 100644 --- a/ArduPlane/Log.pde +++ b/ArduPlane/Log.pde @@ -48,8 +48,8 @@ MENU2(log_menu, "Log", log_menu_commands, print_log_menu); static bool print_log_menu(void) { - int log_start; - int log_end; + int16_t log_start; + int16_t log_end; int temp; int last_log_num = DataFlash.find_last_log(); @@ -104,8 +104,8 @@ static int8_t dump_log(uint8_t argc, const Menu::arg *argv) { int dump_log; - int dump_log_start; - int dump_log_end; + int16_t dump_log_start; + int16_t dump_log_end; byte last_log_num; // check that the requested log number can be read