Skip to content

Commit

Permalink
Add RAW data in and out of the FM repeater for SVXLink.
Browse files Browse the repository at this point in the history
  • Loading branch information
g4klx committed Oct 17, 2023
1 parent d7ee4c1 commit 77d38f3
Show file tree
Hide file tree
Showing 5 changed files with 245 additions and 185 deletions.
2 changes: 1 addition & 1 deletion FMControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,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;

Expand Down
Loading

0 comments on commit 77d38f3

Please sign in to comment.