The unified diff between revisions [b85a3bbc..] and [8760ae92..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'main.c'
# # old_revision [b85a3bbccc40f21e02f50101af764be93eeb9538] # new_revision [8760ae9232295422550b79f09e55122390704b3c] # # patch "main.c" # from [3a525d062c198ad4a596f4bfb7360c3acbf5acfb] # to [ef5435dd23ece2876b0d557328e6c83a7ee04ab6] # ============================================================ --- main.c 3a525d062c198ad4a596f4bfb7360c3acbf5acfb +++ main.c ef5435dd23ece2876b0d557328e6c83a7ee04ab6 @@ -100,12 +100,12 @@ void minmax_sample(void) void minmax_sample(void) { int count; - int fast_roll_min, fast_roll_max; - int fast_pitch_min, fast_pitch_max; - int fast_yaw_min, fast_yaw_max; - int slow_roll_min, slow_roll_max; - int slow_pitch_min, slow_pitch_max; - int slow_yaw_min, slow_yaw_max; + unsigned int fast_roll_min, fast_roll_max; + unsigned int fast_pitch_min, fast_pitch_max; + unsigned int fast_yaw_min, fast_yaw_max; + unsigned int slow_roll_min, slow_roll_max; + unsigned int slow_pitch_min, slow_pitch_max; + unsigned int slow_yaw_min, slow_yaw_max; putstr("Sampling min/max values\r\n"); if (!wmp_sample()) { @@ -228,7 +228,6 @@ int main(void) { int main(void) { int i; - int data; init_uart(); init_i2c(); init_pins();