STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
flight_state.c File Reference
#include "flight_state.h"
Include dependency graph for flight_state.c:

Go to the source code of this file.

Functions

flight_state_t flight_state_next (flight_state_t state, flight_event_t event)
bool flight_state_logs_to_emmc (flight_state_t state)
const char * flight_state_name (flight_state_t state)

Function Documentation

◆ flight_state_logs_to_emmc()

bool flight_state_logs_to_emmc ( flight_state_t state)

Definition at line 22 of file flight_state.c.

References FLIGHT_ARMED, FLIGHT_LAUNCHED, FLIGHT_RECOVERY, and state.

Referenced by emmc_log_on_state(), and test_logging_states().

◆ flight_state_name()

const char * flight_state_name ( flight_state_t state)

Definition at line 27 of file flight_state.c.

References FLIGHT_ARMED, FLIGHT_IDLE, FLIGHT_LAUNCHED, FLIGHT_RECOVERY, FLIGHT_SELF_TEST, and state.

Referenced by test_names().

◆ flight_state_next()