turn on -Werror and fix resulting errors

This commit is contained in:
Daniel Agar
2014-12-22 17:56:59 -05:00
parent d54b46355c
commit d511e39ea7
48 changed files with 95 additions and 35 deletions
+2
View File
@@ -40,3 +40,5 @@ MODULE_COMMAND = px4flow
SRCS = px4flow.cpp
MAXOPTIMIZATION = -Os
EXTRACXXFLAGS = -Wno-attributes
+1 -1
View File
@@ -106,7 +106,7 @@ struct i2c_frame {
};
struct i2c_frame f;
typedef struct i2c_integral_frame {
struct i2c_integral_frame {
uint16_t frame_count_since_last_readout;
int16_t pixel_flow_x_integral;
int16_t pixel_flow_y_integral;