27 #ifndef PREFLIGHT_CHECKS_H
28 #define PREFLIGHT_CHECKS_H
void preflight_error(struct preflight_result_t *result, const char *fmt,...)
Register a preflight error used inside the preflight checking functions.
void preflight_success(struct preflight_result_t *result, const char *fmt,...)
Register a preflight success used inside the preflight checking functions.
bool preflight_ground_done
void preflight_checks_log_bypass(bool bypass)
void(* preflight_check_f)(struct preflight_result_t *result)
void preflight_warning(struct preflight_result_t *result, const char *fmt,...)
Register a preflight warning used inside the preflight checking functions.
struct preflight_check_t * next
bool preflight_check(void)
Perform all the preflight checks.
void preflight_check_register(struct preflight_check_t *check, preflight_check_f func)
Register a preflight check and add it to the linked list.
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.