Fixed compile warnings (#1717)

This commit is contained in:
Deon Blaauw
2016-06-13 15:28:22 +02:00
committed by Gautier Hattenberger
parent 5b8f93eb20
commit 09ed2e6595
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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;
};