Add support for a hardware bind plug (PB5 pin 41) and alternative

default settings for AlienWii32 (8 brushed ESC) based on the NAZE
target.
I agree, that's also a good idea (splitting).
And then a third one later on to add new target.

On Fri, Nov 28, 2014 at 9:54 AM, MJ666 <notifications@github.com> wrote:

> In src/spektrum.c:
>
> > @@ -153,7 +172,8 @@ void spektrumBind(void)
> >      }
> >
> >      // If we came here as a result of hard  reset (power up, with mcfg.spektrum_sat_bind set), then reset it back to zero and write config
> > -    if (rccReadBkpDr() != BKP_SOFTRESET) {
> > +    // Also don't reset if hardware bind plug is present
> > +    if (rccReadBkpDr() != BKP_SOFTRESET && mcfg.hardware_bind_plug == 0) {
>
> For sure will fix the style problems and an make it more nice. Likely need
> to be changed anyhow..Will make two new pull requests. One for the bind
> plug and one for the defaults.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/multiwii/baseflight/pull/211/files#r21014194>.
>