Remove old RSSI code.

This commit is contained in:
Jonathan Naylor 2016-08-30 17:13:07 +01:00
parent 1f7c16c7e8
commit 211fbf1423
1 changed files with 1 additions and 7 deletions

8
IO.cpp
View File

@ -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