STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_mode_core.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "mode_core.h"
Include dependency graph for test_mode_core.c:

Go to the source code of this file.

Macros

#define CHECK(c)

Functions

static void test_idle_keeps_only_the_radio (void)
static void test_armed_onwards_runs_everything (void)
static void test_commands (void)
int main (void)

Macro Definition Documentation

◆ CHECK

#define CHECK ( c)
Value:
do { \
if (!(c)) { \
fprintf(stderr, "%s:%d: %s\n", __FILE__, __LINE__, #c); \
exit(1); \
} \
} while (0)

Definition at line 7 of file test_mode_core.c.

Referenced by test_armed_onwards_runs_everything(), test_commands(), and test_idle_keeps_only_the_radio().

Function Documentation

◆ main()

int main ( void )

◆ test_armed_onwards_runs_everything()

◆ test_commands()

void test_commands ( void )
static

◆ test_idle_keeps_only_the_radio()

void test_idle_keeps_only_the_radio ( void )
static

Definition at line 15 of file test_mode_core.c.

References CHECK, FLIGHT_IDLE, mode_outputs(), and o.

Referenced by main().