Rev 2099 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2099 | Rev 2124 | ||
---|---|---|---|
Line 21... | Line 21... | ||
21 | extern volatile uint16_t beepTime; |
21 | extern volatile uint16_t beepTime; |
22 | #ifdef USE_NAVICTRL |
22 | #ifdef USE_NAVICTRL |
23 | extern volatile uint8_t SendSPI; |
23 | extern volatile uint8_t SendSPI; |
24 | #endif |
24 | #endif |
Line 25... | Line 25... | ||
25 | 25 | ||
26 | extern void timer0_init(void); |
26 | void timer0_init(void); |
27 | extern void delay_ms(uint16_t w); |
27 | void delay_ms(uint16_t w); |
28 | extern void delay_ms_with_adc_measurement(uint16_t w, uint8_t stop); |
28 | void delay_ms_with_adc_measurement(uint16_t w, uint8_t stop); |
29 | extern uint16_t setDelay(uint16_t t); |
29 | uint16_t setDelay(uint16_t t); |
- | 30 | int8_t checkDelay(uint16_t t); |
|
- | 31 | ||
- | 32 | #ifdef DO_PROFILE |
|
- | 33 | #define NUM_PROFILE_TIMERS 4 |
|
- | 34 | #define ATTITUDE 0 |
|
- | 35 | #define CONTROLMIXER 1 |
|
- | 36 | #define COMMANDS 2 |
|
- | 37 | #define FLIGHT 3 |
|
- | 38 | ||
- | 39 | void startProfileTimer(uint8_t timer); |
|
- | 40 | void stopProfileTimer(uint8_t timer); |
|
- | 41 | void debugProfileTimers(uint8_t index); |
|
Line 30... | Line 42... | ||
30 | extern int8_t checkDelay(uint16_t t); |
42 | #endif |