From 11017e784883a4b1dca402be7af6adb988c8850e Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Tue, 17 Apr 2012 22:20:47 +0200 Subject: digital/beacon: add comment into RX callback --- digital/beacon/src/debug.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'digital') diff --git a/digital/beacon/src/debug.c b/digital/beacon/src/debug.c index 7d0f32cd..11af35a8 100644 --- a/digital/beacon/src/debug.c +++ b/digital/beacon/src/debug.c @@ -83,8 +83,10 @@ void usartTXCallback(void) /* RX USART Callback */ void usartRXCallback(uint16_t bytesToRead) { - uint8_t rxBuffer; - READ_USART(&appUsartDescriptor,&rxBuffer,bytesToRead); + uint8_t rxBuffer; + + /* Read RX buffer from HAL */ + READ_USART(&appUsartDescriptor,&rxBuffer,bytesToRead); switch(rxBuffer) { -- cgit v1.2.3