mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-06 06:55:05 +00:00
Widened the size of serial data going into M17 and FM.
This commit is contained in:
parent
f324f96db7
commit
824c9b9852
5 changed files with 10 additions and 10 deletions
4
FM.cpp
4
FM.cpp
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2020,2021 by Jonathan Naylor G4KLX
|
||||
* Copyright (C) 2020,2021,2025 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
|
||||
|
|
@ -1205,7 +1205,7 @@ uint8_t CFM::getSpace() const
|
|||
return m_inputExtRB.getSpace() / FM_SERIAL_BLOCK_SIZE_BYTES;
|
||||
}
|
||||
|
||||
uint8_t CFM::writeData(const uint8_t* data, uint8_t length)
|
||||
uint8_t CFM::writeData(const uint8_t* data, uint16_t length)
|
||||
{
|
||||
//todo check if length is a multiple of 3
|
||||
m_inputExtRB.addData(data, length);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue