Handle extended packet lengths.

This commit is contained in:
Jonathan Naylor 2020-06-19 13:16:47 +01:00
parent 6dbda2795a
commit 114c2bcb15
30 changed files with 410 additions and 380 deletions

View file

@ -1,5 +1,6 @@
/*
* Copyright (C) 2018 by Andy Uribe CA6JAU
* Copyright (C) 2020 by Jonathan Naylor G4KLX
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -82,7 +83,7 @@ void CCalP25::process()
}
}
uint8_t CCalP25::write(const uint8_t* data, uint8_t length)
uint8_t CCalP25::write(const uint8_t* data, uint16_t length)
{
if (length != 1U)
return 4U;