Curve: fix compile warnings re float constants
This commit is contained in:
parent
bf1d128d70
commit
dffcdbd751
@ -18,7 +18,7 @@ void AP_Curve<T,SIZE>::clear() {
|
||||
for( uint8_t i=0; i<SIZE; i++ ) {
|
||||
_x[i] = 0;
|
||||
_y[i] = 0;
|
||||
_slope[i] = 0.0;
|
||||
_slope[i] = 0.0f;
|
||||
}
|
||||
_num_points = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user