AlienWii32 hardware bind plug implementation

Activate via OPTIONS="ALIENWII32" during make
Er. it should NOT result in any extra code being built.

On Sat, Nov 29, 2014 at 12:47 AM, timecop <timecop@gmail.com> wrote:

> Basically, make your feature as compact as possible and not annoying when
> it isn't used. That means when it isn't enabled, it should result in any
> extra code being built.
>
> On Sat, Nov 29, 2014 at 12:33 AM, MJ666 <notifications@github.com> wrote:
>
>> In src/spektrum.c:
>>
>> > @@ -133,6 +147,9 @@ void spektrumBind(void)
>> >      // don't try to bind if: here after soft reset or bind flag is out of range
>> >      if (rccReadBkpDr() == BKP_SOFTRESET || mcfg.spektrum_sat_bind == 0 || mcfg.spektrum_sat_bind > 10)
>> >          return;
>> > +    // Return if bind plug is is present but not active
>> > +    if (HARDWARE_BIND_PLUG && bind_active == false)
>>
>> This means we will get 3 #ifdef sections? if you can agree i will go
>> ahead. Do you have another advice what Need to be changed?
>>
>> —
>> Reply to this email directly or view it on GitHub
>> <https://github.com/multiwii/baseflight/pull/217/files#r21036480>.
>>
>
>