Curve: fix compile warnings re float constants

This commit is contained in:
Tom Pittenger 2015-04-24 12:30:09 +09:00 committed by Randy Mackay
parent bf1d128d70
commit dffcdbd751

View File

@ -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;
}