mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-10-11 22:34:12 +02:00
Small efficiency update to the interrupt routine.
This commit is contained in:
@@ -346,9 +346,8 @@ void CIO::interrupt()
|
||||
uint8_t control = MARK_NONE;
|
||||
uint16_t sample = DC_OFFSET;
|
||||
|
||||
if (m_txBuffer.getData() > 0U)
|
||||
m_txBuffer.get(sample, control);
|
||||
|
||||
m_txBuffer.get(sample, control);
|
||||
|
||||
#if defined(__SAM3X8E__)
|
||||
DACC->DACC_CDR = sample;
|
||||
sample = ADC->ADC_CDR[ADC_CDR_Chan];
|
||||
|
||||
Reference in New Issue
Block a user