herolic / aeroquad

Automatically exported from code.google.com/p/aeroquad
0 stars 0 forks source link

RED Led will not light if AeroQuadMega_Wii is defined. bug in FlightControl.pde found #116

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.in AeroQuad.pde define AeroQuadMega_Wii for your sensors
2.your RED led will not come on even switching between stable and acro modes.
3.

in line 89 of FlightControl.pde this is defined
89 - #if defined(AeroQuad_v18) || defined(AeroQuadMega_v2)

and needs to be

89 - #if defined(AeroQuad_v18) || defined(AeroQuadMega_v2) || 
defined(AeroQuadMega_Wii)

What is the expected output? What do you see instead?
I would expect to see the RED led light but it does not

What version of the product are you using? On what operating system?
2.4 code

Please provide any additional information below.
I wonder what other areas are missing the AeroQuadMega_Wii defined that should 
be

Original issue reported on code.google.com by p0la...@gmail.com on 22 Apr 2011 at 3:19

GoogleCodeExporter commented 9 years ago
im dpackham BTW  :)

Original comment by p0la...@gmail.com on 22 Apr 2011 at 3:19

GoogleCodeExporter commented 9 years ago
FlightCommand.PDE   my bad.  NOT FlightControl.pde

Original comment by d...@thepackhams.com on 30 Apr 2011 at 5:51

GoogleCodeExporter commented 9 years ago
Also need to change the following on line 47 of AeroQuad.h to define the pins 
for LEDs

#if defined(AeroQuadMega_v2) || defined(AeroQuadMega_Wii)

Original comment by d...@thepackhams.com on 30 Apr 2011 at 6:27

GoogleCodeExporter commented 9 years ago
Also need to change line 416 of AeroQuad.pde

  #if defined(AeroQuad_v18) || defined(AeroQuadMega_v2) || defined(AeroQuad_Mini) || defined(AeroQuadMega_Wii)

Original comment by d...@thepackhams.com on 30 Apr 2011 at 6:57

GoogleCodeExporter commented 9 years ago
Tested changes and my red leds comes on now with the flip of the TX Switch

Original comment by d...@thepackhams.com on 30 Apr 2011 at 7:15

GoogleCodeExporter commented 9 years ago
Thank dpackham!  This is going into v2.4.1.

Original comment by CaranchoEngineering@gmail.com on 5 Jun 2011 at 2:15

GoogleCodeExporter commented 9 years ago

Original comment by CaranchoEngineering@gmail.com on 5 Jun 2011 at 2:15