mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-21 03:43:26 +08:00
Fixed compile warnings (#1717)
This commit is contained in:
committed by
Gautier Hattenberger
parent
5b8f93eb20
commit
09ed2e6595
@@ -193,10 +193,10 @@ static int b2_hff_rb_n; ///< ringbuffer fill count
|
||||
|
||||
|
||||
/** by how many steps the estimated GPS validity point in time differed from GPS_LAG_N */
|
||||
static int lag_counter_err;
|
||||
static int16_t lag_counter_err;
|
||||
|
||||
/** counts down the propagation steps until the filter state is saved again */
|
||||
static int save_counter;
|
||||
static int16_t save_counter;
|
||||
static int past_save_counter;
|
||||
#define SAVE_NOW 0
|
||||
#define SAVING -1
|
||||
|
||||
@@ -46,7 +46,7 @@ struct HfilterFloat {
|
||||
float ydotdot;
|
||||
float xP[HFF_STATE_SIZE][HFF_STATE_SIZE];
|
||||
float yP[HFF_STATE_SIZE][HFF_STATE_SIZE];
|
||||
uint8_t lag_counter;
|
||||
uint16_t lag_counter;
|
||||
bool rollback;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user