From b3d755d0181904beb322dc51f7bfa4856530b367 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 5 Aug 2020 17:36:56 +1000 Subject: [PATCH] AP_HAL_SITL: correct loop counter type --- libraries/AP_HAL_SITL/sitl_gps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_SITL/sitl_gps.cpp b/libraries/AP_HAL_SITL/sitl_gps.cpp index 72190d5768..d2df3ae03d 100644 --- a/libraries/AP_HAL_SITL/sitl_gps.cpp +++ b/libraries/AP_HAL_SITL/sitl_gps.cpp @@ -144,7 +144,7 @@ void SITL_State::_gps_send_ubx(uint8_t msgid, uint8_t *buf, uint16_t size, uint8 chk[1] += (chk[0] += hdr[3]); chk[1] += (chk[0] += hdr[4]); chk[1] += (chk[0] += hdr[5]); - for (uint8_t i=0; i