mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 06:53:42 +00:00
Merge branch 'master' into mqtt
This commit is contained in:
commit
c3d8a4ce9d
14 changed files with 401 additions and 180 deletions
|
|
@ -178,7 +178,7 @@ unsigned int CFMControl::readModem(unsigned char* data, unsigned int space)
|
|||
space = 240U; // 160 samples 12-bit
|
||||
|
||||
float netData[160U]; // Modem can handle up to 160 samples at a time
|
||||
unsigned int length = m_network->read(netData, 160U); // 160 samples 12-bit
|
||||
unsigned int length = m_network->readData(netData, 160U); // 160 samples 12-bit
|
||||
if (length == 0U)
|
||||
return 0U;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue