The unified diff between revisions [7ac10cd3..] and [dc88787e..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'types.h'
# # old_revision [7ac10cd34167baa43683a09e9e9e6778e691171d] # new_revision [dc88787ecd1d574feba045763baed2a7651ff33d] # # add_file "types.h" # content [7c869b53b93f19582f54a07b55704f6c9564465e] # ============================================================ --- /dev/null +++ types.h 7c869b53b93f19582f54a07b55704f6c9564465e @@ -0,0 +1,26 @@ +#ifndef __TYPES_H +#define __TYPES_H + +typedef int bool; +#define TRUE 1 +#define FALSE 0 + +#define NULL 0 + +typedef unsigned int size_t; + +typedef struct { + float x, y, z; +} vec3f; + +typedef struct { + float p, i, d, a; +} pid_params; + +typedef struct { + int min, max, centre, deadband; +} stick_timing; + +typedef float stick_sensitivity; + +#endif /* __TYPES_H */