GPS fixes and GPS soft serial support

Added possibility to use both Serial RX (Spektrum satellite/SBUS/SUMD) and GPS at the same time.
- When features: feature SERIALRX, feature SOFTSERIAL and feature GPS are enabled Serial RX is using UART and pins 3&4 and GPS is using soft serial and pins 5&6.
- Fixed GPS code, so that now it's reconnecting if connection to GPS is lost.
- GPS tab on Chrome Configurator now shows GPS signal strength.
- Possibility to disable SBAS (ground assistace type). (SBAS causes occasional severe altitude calcuation errors)
No, just keep same logic but shorten disable array to remove redundant bytes

On Mon, Nov 24, 2014 at 8:23 PM, Jaakko Haavisto <notifications@github.com>
wrote:

> In src/gps.c:
>
> >      // signal GPS "thread" to initialize when it gets to it
> >      gpsSetState(GPS_INITIALIZING);
> >
> >      // copy ubx sbas config string to use
> >      if (mcfg.gps_ubx_sbas >= SBAS_LAST)
> >          mcfg.gps_ubx_sbas = SBAS_AUTO;
> > -    memcpy(ubloxSbasInit + 10, ubloxSbasMode + (mcfg.gps_ubx_sbas * 6), 6);
> > +    if (mcfg.gps_ubx_sbas != SBAS_DISABLED)
> > +        memcpy(ubloxSbasInit + 10, ubloxSbasMode + (mcfg.gps_ubx_sbas * 6), 6);
> > +    else
> > +        memcpy(ubloxSbasInit, ubloxSbasDisabled, sizeof(ubloxSbasInit));
>
> Problem to do this is that disabled byte is in the 7th one and SBAS modes
> are started to copy from 11th byte.
> So we need to copy last 10 bytes to sbas init. Now sbas mode table has
> only 6 bytes per setting.
> Any suggest how to do this? Should I add 4 bytes to every SBAS setting in
> the uboxSbasMode array?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/multiwii/baseflight/pull/206/files#r20784224>.
>