SITL: fix missing method declaration compile failure

RyanF found this when eliminating other problems
This commit is contained in:
Peter Barker 2023-05-19 10:54:12 +10:00 committed by Peter Barker
parent 0d38362c1a
commit bce2625918
1 changed files with 1 additions and 1 deletions

View File

@ -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;