The unified diff between revisions [d8ed90db..] and [23a3e9a5..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'wmp.h'
# # old_revision [d8ed90db2d4284a290224447c40a0d9cef3fbc31] # new_revision [23a3e9a50b4034343e3bd217d2c225dcaec064dd] # # add_file "wmp.h" # content [12983abdeae8f48c789d10feb223483cfd6e31eb] # ============================================================ --- /dev/null +++ wmp.h 12983abdeae8f48c789d10feb223483cfd6e31eb @@ -0,0 +1,23 @@ +#ifndef __WMP_H +#define __WMP_H + +#include "types.h" + +extern unsigned int wmp_yaw; +extern unsigned int wmp_pitch; +extern unsigned int wmp_roll; + +extern unsigned char wmp_calibration_data[]; + +extern bool wmp_yaw_fast; +extern bool wmp_pitch_fast; +extern bool wmp_roll_fast; + +bool wmp_init(void); +bool wmp_sample(void); +bool wmp_read_calibration_data(void); +bool wmp_start_sample(void); +void wmp_event_handler(void); +void wmp_start_zero(void); + +#endif /* __WMP_H */