|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include "flight_state.h"Go to the source code of this file.
Macros | |
| #define | CHECK(condition) |
Functions | |
| static void | test_table (void) |
| static void | test_logging_states (void) |
| static void | test_names (void) |
| int | main (void) |
| #define CHECK | ( | condition | ) |
Definition at line 7 of file test_flight_state.c.
Referenced by test_logging_states(), test_names(), and test_table().
| int main | ( | void | ) |
Definition at line 56 of file test_flight_state.c.
References test_logging_states(), test_names(), and test_table().
|
static |
Definition at line 41 of file test_flight_state.c.
References CHECK, FLIGHT_ARMED, FLIGHT_IDLE, FLIGHT_LAUNCHED, FLIGHT_RECOVERY, FLIGHT_SELF_TEST, FLIGHT_STATE_COUNT, and flight_state_logs_to_emmc().
Referenced by main().
|
static |
Definition at line 50 of file test_flight_state.c.
References CHECK, FLIGHT_ARMED, FLIGHT_RECOVERY, FLIGHT_STATE_COUNT, and flight_state_name().
Referenced by main().
|
static |
Definition at line 16 of file test_flight_state.c.
References CHECK, FLIGHT_ARMED, FLIGHT_EV_APOGEE_DETECTED, FLIGHT_EV_ARM, FLIGHT_EV_LAUNCH_DETECTED, FLIGHT_EV_SELF_TEST_DONE, FLIGHT_EV_UNARM, FLIGHT_EVENT_COUNT, FLIGHT_IDLE, FLIGHT_LAUNCHED, FLIGHT_RECOVERY, FLIGHT_SELF_TEST, FLIGHT_STATE_COUNT, and flight_state_next().
Referenced by main().