// Initialise the software TICK_COUNT appInitSoftware(TICK_COUNT loopStart){ init_robot(); init_error_list(); init_map(); init_rct_set(); uartAttach(UART3, &lbRcv); return 0; }
int main (int argc, char *argv[]) { boolean debug = FALSE; program_name = argv[0]; if (argc == 2 && strcmp(argv[1], "-phase") == 0) { table_for_phase = TRUE; } init_error_list(); read_table(); fill_option_info(); if (debug) dump_option_info(); /* create files from info */ write_option_names(); write_init_options(); write_get_option(); write_opt_action(); if (!table_for_phase) { write_check_combos(); } write_implicits(); return(error_status); }