Telemetry/AVR/Function renaming
renamed processSerialData to processTelemetryData acording to PR review
This commit is contained in:
committed by
Bertrand Songis
parent
b87fddf3e7
commit
fbd881f8d9
@@ -45,7 +45,7 @@ void telemetryEnableRx(void)
|
||||
UCSRB_N(TLM_USART) |= (1 << RXCIE_N(TLM_USART)); // enable Interrupt
|
||||
}
|
||||
|
||||
void processSerialData(uint8_t data);
|
||||
void processTelemetryData(uint8_t data);
|
||||
extern uint8_t telemetryRxBufferCount;
|
||||
|
||||
ISR(USART_RX_vect_N(TLM_USART))
|
||||
@@ -94,7 +94,7 @@ ISR(USART_RX_vect_N(TLM_USART))
|
||||
telemetryRxBufferCount = 0;
|
||||
}
|
||||
else {
|
||||
processSerialData(data);
|
||||
processTelemetryData(data);
|
||||
}
|
||||
|
||||
cli() ;
|
||||
|
||||
Reference in New Issue
Block a user