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

default settings for AlienWii32 (8 brushed ESC) based on the NAZE
target.
it can be under #define HARDWARE_BIND_PLUG which could then be used by
other targets.

Also, that doesn't change the fact that the code is fucking ugly and needs
to be looked at.

On Fri, Nov 28, 2014 at 9:33 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) {
>
> There is an option to add this only to the AlienWii code via a define in
> boards.h in the AlienWii32 section were also the motor pwm speed is
> defined?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/multiwii/baseflight/pull/211/files#r21013965>.
>