|
|
|
@ -100,12 +100,12 @@ unsigned int count = 0;
|
|
|
|
|
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()) { |
|
|
|
|