Miscellaneous kernel support functions. More...
#include <stddef.h>
#include <stdlib.h>
#include "config.h"
#include <avr/pgmspace.h>
Defines | |
#define | panic(_x_) panic_P (PSTR(_x_)) |
#define | JOYOS_VERSION "0.2.5" |
Current JoyOS version. | |
Functions | |
void | round_start () |
void | round_end () |
This header includes kernel-level support and debbugging functions as well as JoyOS version information.
#define panic | ( | _x_ | ) | panic_P (PSTR(_x_)) |
System panic. Call this routine to halt the board and write an error message to the UART. This routine never returns.
_x_ | Write "panic: _x_" to the UART. |
void round_end | ( | ) |
Ends the round immediately and halts the robot
void round_start | ( | ) |
Enables start of the round. That is, if this is called, then the robot will stop waiting or not wait at all to enter umain