mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-10-22 18:45:01 +02:00
Fix STM32F10X compile complaining about duplicate stuff
This commit is contained in:
+4
-4
@@ -20,10 +20,10 @@
|
||||
#include "Globals.h"
|
||||
#include "FMCTCSSRX.h"
|
||||
|
||||
const struct CTCSS_TABLE {
|
||||
const struct RX_CTCSS_TABLE {
|
||||
uint8_t frequency;
|
||||
q63_t coeffDivTwo;
|
||||
} CTCSS_TABLE_DATA[] = {
|
||||
} RX_CTCSS_TABLE_DATA[] = {
|
||||
{ 67U, 2147153298},
|
||||
{ 69U, 2147130228},
|
||||
{ 71U, 2147103212},
|
||||
@@ -93,8 +93,8 @@ m_result(CTS_NONE)
|
||||
uint8_t CFMCTCSSRX::setParams(uint8_t frequency, uint8_t threshold)
|
||||
{
|
||||
for (uint8_t i = 0U; i < CTCSS_TABLE_DATA_LEN; i++) {
|
||||
if (CTCSS_TABLE_DATA[i].frequency == frequency) {
|
||||
m_coeffDivTwo = CTCSS_TABLE_DATA[i].coeffDivTwo;
|
||||
if (RX_CTCSS_TABLE_DATA[i].frequency == frequency) {
|
||||
m_coeffDivTwo = RX_CTCSS_TABLE_DATA[i].coeffDivTwo;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user