Subversion Repositories FlightCtrl

Rev

Rev 2048 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2048 Rev 2052
Line 44... Line 44...
44
 * at hand is resolved.
44
 * at hand is resolved.
45
 */
45
 */
Line 46... Line 46...
46
 
46
 
47
#define DEBUG_MAINLOOP_TIMER 1
47
#define DEBUG_MAINLOOP_TIMER 1
48
#define DEBUG_HEIGHT_DIFF    2
48
#define DEBUG_HEIGHT_DIFF    2
49
#define DEBUG_HOVERTHROTTLE  4
49
#define DEBUG_FLIGHTCLIP     4
50
#define DEBUG_ACC0THORDER    8
50
#define DEBUG_ACC0THORDER    8
51
#define DEBUG_COMPASS       16
51
#define DEBUG_COMPASS       16
52
#define DEBUG_PRESSURERANGE 32
52
#define DEBUG_PRESSURERANGE 32
53
#define DEBUG_CLIP          64
53
#define DEBUG_CLIP          64
Line 59... Line 59...
59
#define OUTPUTFLAGS_FLASH_1_AT_BEEP  8 // Flash LED when beeper beeps
59
#define OUTPUTFLAGS_FLASH_1_AT_BEEP  8 // Flash LED when beeper beeps
60
#define OUTPUTFLAGS_USE_ONBOARD_LEDS 16 // Control on-board LEDs in addition to outputs
60
#define OUTPUTFLAGS_USE_ONBOARD_LEDS 16 // Control on-board LEDs in addition to outputs
61
#define OUTPUTFLAGS_TEST_OFF         32 // For testing: Turn off both outputs
61
#define OUTPUTFLAGS_TEST_OFF         32 // For testing: Turn off both outputs
62
#define OUTPUTFLAGS_TEST_ON          64 // For testing: Turn on both outputs
62
#define OUTPUTFLAGS_TEST_ON          64 // For testing: Turn on both outputs
Line -... Line 63...
-
 
63
 
-
 
64
// For practical reasons put here instead of in uart0.h
-
 
65
typedef struct {
-
 
66
    uint8_t digital[2];
-
 
67
    uint16_t analog[32]; // debug values
-
 
68
}__attribute__((packed)) DebugOut_t;
-
 
69
 
-
 
70
extern DebugOut_t debugOut;
63
 
71
 
64
/*
72
/*
65
 * Set to 0 for using outputs as the usual flashing lights.
73
 * Set to 0 for using outputs as the usual flashing lights.
66
 * Set to one of the DEBUG_... defines h for using the outputs as debug lights.
74
 * Set to one of the DEBUG_... defines h for using the outputs as debug lights.
67
 */
75
 */