Fix compiler warnings: sketch/fsensor.cpp: In function 'void __vector_11()':
sketch/fsensor.cpp:370:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (pat9125_y > 0) if (fsensor_oq_yd_min > pat9125_y) fsensor_oq_yd_min = (fsensor_oq_yd_min + pat9125_y) / 2; ^ sketch/fsensor.cpp:371:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (pat9125_y >= 0) if (fsensor_oq_yd_max < pat9125_y) fsensor_oq_yd_max = (fsensor_oq_yd_max + pat9125_y) / 2;
This commit is contained in:
parent
25c00393ff
commit
1b299618c1
1 changed files with 2 additions and 2 deletions
|
@ -101,9 +101,9 @@ uint16_t fsensor_oq_er_sum;
|
|||
//max error counter value durring meassurement
|
||||
uint8_t fsensor_oq_er_max;
|
||||
//minimum delta value
|
||||
uint16_t fsensor_oq_yd_min;
|
||||
int16_t fsensor_oq_yd_min;
|
||||
//maximum delta value
|
||||
uint16_t fsensor_oq_yd_max;
|
||||
int16_t fsensor_oq_yd_max;
|
||||
//sum of shutter value
|
||||
uint16_t fsensor_oq_sh_sum;
|
||||
|
||||
|
|
Loading…
Reference in a new issue