mirror of https://github.com/g4klx/MMDVM.git
Remove old RSSI code.
This commit is contained in:
parent
1f7c16c7e8
commit
211fbf1423
8
IO.cpp
8
IO.cpp
|
@ -61,7 +61,6 @@ const uint16_t DC_OFFSET = 2048U;
|
|||
#define PIN_DSTAR 9
|
||||
#define PIN_DMR 8
|
||||
#define PIN_YSF 7
|
||||
#define PIN_RSSI 60 // ADC on Due pin A6 - Due AD1
|
||||
#define ADC_CHER_Chan (1<<13) // ADC on Due pin A11 - Due AD13 - (1 << 13) (PB20)
|
||||
#define ADC_ISR_EOC_Chan ADC_ISR_EOC13
|
||||
#define ADC_CDR_Chan 13
|
||||
|
@ -161,11 +160,6 @@ m_lockout(false)
|
|||
pinMode(PIN_DMR, OUTPUT);
|
||||
pinMode(PIN_YSF, OUTPUT);
|
||||
#endif
|
||||
|
||||
#if defined(SEND_RSSI_DATA)
|
||||
pinMode(PIN_RSSI, INPUT);
|
||||
analogReadResolution(12);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -581,6 +575,6 @@ bool CIO::hasLockout() const
|
|||
#if defined(SEND_RSSI_DATA)
|
||||
uint16_t CIO::getRSSIValue()
|
||||
{
|
||||
return analogRead(PIN_RSSI);
|
||||
return 0U;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue