From bce262591836373ef89d2e859735c64b7a13197c Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 19 May 2023 10:54:12 +1000 Subject: [PATCH] SITL: fix missing method declaration compile failure RyanF found this when eliminating other problems --- libraries/SITL/SIM_RF_RDS02UF.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/SITL/SIM_RF_RDS02UF.cpp b/libraries/SITL/SIM_RF_RDS02UF.cpp index d3c1e1fc33..0a0a160e20 100644 --- a/libraries/SITL/SIM_RF_RDS02UF.cpp +++ b/libraries/SITL/SIM_RF_RDS02UF.cpp @@ -57,7 +57,7 @@ using namespace SITL; 0x68,0x35,0xFD,0x8F,0x9E,0x1F,0x13,0xD1, 0xAD,0x69,0xCC,0xA4,0x94,0x90,0x1B,0x43, }; -uint8_t xcrc8(uint8_t* pbuf, int32_t len) +static uint8_t xcrc8(uint8_t* pbuf, int32_t len) { uint8_t* data = pbuf; uint8_t crc = 0;