BV RS232: fix typo

This commit is contained in:
King Kévin 2018-05-01 13:43:56 +02:00
parent 870284e581
commit c55f663e56
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
* @file busvoodoo_rs232.c
* @author King Kévin <kingkevin@cuvoodoo.info>
* @date 2018
* @note peripherals used: USART @ref busvoodoo_rs232
* @note peripherals used: USART @ref busvoodoo_rs232_usart
*/
/* standard libraries */
#include <stdint.h> // standard integer types
@ -574,7 +574,7 @@ static void busvoodoo_rs232_command_transceive(void* argument)
while ((0==(USART_SR(USART(BUSVOODOO_RS232_USART)) & USART_SR_TXE) && !user_input_available)); // wait for transmit buffer to be empty
if (USART_SR(USART(BUSVOODOO_RS232_USART)) & USART_SR_TXE) { // we can send a character
usart_send_blocking(USART(BUSVOODOO_RS232_USART), c); // send user character
busvoodoo_led_red_pulse(BUSVOODOO_LED_PULSE); // enable red LED to show transmission
busvoodoo_led_red_pulse(BUSVOODOO_LED_PULSE); // enable red LED to show transmission
}
} else { // user wants to exit
break; // exit infinite loop