mirror of https://github.com/g4klx/MMDVM.git
Only need rawRSSI variable if SEND_RSSI is defined
This commit is contained in:
parent
11997ca017
commit
5c9abf2eeb
|
@ -369,7 +369,9 @@ void CIO::interrupt()
|
|||
{
|
||||
uint8_t control = MARK_NONE;
|
||||
uint16_t sample = DC_OFFSET;
|
||||
#if defined(SEND_RSSI_DATA)
|
||||
uint16_t rawRSSI = 0U;
|
||||
#endif
|
||||
bitband_t eoc = (bitband_t)BITBAND_PERIPH(&ADC1->SR, ADC_SR_EOS_Pos);
|
||||
bitband_t adon = (bitband_t)BITBAND_PERIPH(&ADC1->CR2, ADC_CR2_ADON_Pos);
|
||||
#if defined(SEND_RSSI_DATA)
|
||||
|
|
Loading…
Reference in New Issue