BV RS232: fix typo
This commit is contained in:
parent
870284e581
commit
c55f663e56
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue