oh why the fuck not just make it a bool then but ya OK whatever
On Apr 16, 2014 6:04 AM, "Trey Marc" <notifications@github.com> wrote:

> In src/sensors.c:
>
> > @@ -8,7 +8,7 @@ uint16_t acc_1G = 256;          // this is the 1G measured acceleration.
> >  int16_t heading, magHold;
> >
> >  extern uint16_t InflightcalibratingA;
> > -extern int16_t AccInflightCalibrationArmed;
> > +extern uint16_t AccInflightCalibrationArmed;
>
> this fix the alignment, AccInflightCalibrationArmed is a bool :
>
> AccInflightCalibrationArmed = !AccInflightCalibrationArmed;
> if (AccInflightCalibrationArmed) {
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/multiwii/baseflight/pull/79/files#r11682265>
> .
>