Files
quadrotor/abs.h
Gavan Fantom 999e129e2c Improve handling of arming, providing LED blink codes if the arming fails.
Also, implement a software watchdog to make sure that the main real-time
modules are actually being run. Provide a panic facility, also giving blink
codes to indicate the panic reason.
2012-09-22 12:08:07 +00:00

4 lines
54 B
C

/* abs.h */
#define abs(x) (((x) < 0)? (-(x)) : (x))