The unified diff between revisions [d8ed90db..] 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 [d8ed90db2d4284a290224447c40a0d9cef3fbc31] # new_revision [dc88787ecd1d574feba045763baed2a7651ff33d] # # patch "types.h" # from [5b44150f29ad170380f02a9a90f58cbf25683924] # to [7c869b53b93f19582f54a07b55704f6c9564465e] # ============================================================ --- types.h 5b44150f29ad170380f02a9a90f58cbf25683924 +++ types.h 7c869b53b93f19582f54a07b55704f6c9564465e @@ -1,3 +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 */