The unified diff between revisions [d8ed90db..] and [8f4e93ab..] 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 [8f4e93ab4d89edfdbd524b06b83511c6867a9150] # # add_file "wmp.h" # content [1c8449a5057b64d7441e74d3ea43ef2818f9ffe8] # ============================================================ --- /dev/null +++ wmp.h 1c8449a5057b64d7441e74d3ea43ef2818f9ffe8 @@ -0,0 +1,22 @@ +#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); + +#endif /* __WMP_H */