Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
switch_uart.c File Reference
+ Include dependency graph for switch_uart.c:

Go to the source code of this file.


#define DROP_STRINGLEN   19


void periodic_switch_uart (void)
void drop_ball (uint8_t number)


uint8_t switch_uart_channel = 0
uint8_t switch_uart_status = 0
static uint8_t drop_string [] = "<Drop_Paintball_Now"

Macro Definition Documentation


#define DROP_STRINGLEN   19

Definition at line 33 of file switch_uart.c.

Function Documentation

◆ drop_ball()

void drop_ball ( uint8_t  number)

Definition at line 44 of file switch_uart.c.

References drop_string, DROP_STRINGLEN, last, and uart_put_byte().

+ Here is the call graph for this function:

◆ periodic_switch_uart()

void periodic_switch_uart ( void  )

Definition at line 36 of file switch_uart.c.

References switch_uart_status, uart_char_available(), and uart_getch().

+ Here is the call graph for this function:

Variable Documentation

◆ drop_string

uint8_t drop_string[] = "<Drop_Paintball_Now"

Definition at line 32 of file switch_uart.c.

Referenced by drop_ball().

◆ switch_uart_channel

uint8_t switch_uart_channel = 0

Definition at line 29 of file switch_uart.c.

◆ switch_uart_status

uint8_t switch_uart_status = 0

Definition at line 30 of file switch_uart.c.

Referenced by periodic_switch_uart().