mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-05 06:26:42 +00:00
Handle extended packet lengths.
This commit is contained in:
parent
6dbda2795a
commit
114c2bcb15
30 changed files with 410 additions and 380 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2009-2018 by Jonathan Naylor G4KLX
|
||||
* Copyright (C) 2009-2018,2020 by Jonathan Naylor G4KLX
|
||||
* Copyright (C) 2017 by Andy Uribe CA6JAU
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
|
|
@ -116,7 +116,7 @@ void CYSFTX::process()
|
|||
}
|
||||
}
|
||||
|
||||
uint8_t CYSFTX::writeData(const uint8_t* data, uint8_t length)
|
||||
uint8_t CYSFTX::writeData(const uint8_t* data, uint16_t length)
|
||||
{
|
||||
if (length != (YSF_FRAME_LENGTH_BYTES + 1U))
|
||||
return 4U;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue