Closed Joe-Joe-Joe-Joe closed 2 months ago
prev_alt is currently a uint16_t, but is intended to store a int32_t value. This needs to be changed, along with setting the intial value to something more sensible (I'm thinking INT_MAX)
prev_alt
uint16_t
int32_t
prev_alt
is currently auint16_t
, but is intended to store aint32_t
value. This needs to be changed, along with setting the intial value to something more sensible (I'm thinking INT_MAX)