The unified diff between revisions [d8ed90db..] and [81e4dce2..] 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 [81e4dce274e79dd9187ed4bd182e1d6fc0fdfb37] # # add_file "wmp.h" # content [6e0068d0e91c6fdc5f17e8569a6d05895be6cb65] # ============================================================ --- /dev/null +++ wmp.h 6e0068d0e91c6fdc5f17e8569a6d05895be6cb65 @@ -0,0 +1,25 @@ +#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; + +extern bool wmp_zero; + +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 */