Rev 66 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 66 | Rev 71 | ||
---|---|---|---|
Line 16... | Line 16... | ||
16 | #endif |
16 | #endif |
17 | 17 | ||
18 | extern volatile int push_pos[MAX_PUSHBUTTONS]; |
18 | extern volatile int push_pos[MAX_PUSHBUTTONS]; |
19 | extern volatile int sw_count[MAX_PUSHBUTTONS]; //< debounced switch state |
19 | extern volatile int sw_count[MAX_PUSHBUTTONS]; //< debounced switch state |
20 | 20 | ||
21 | extern volatile int dial_pos[MAX_DIALS]; |
- | |
22 | extern volatile int dial_count[MAX_DIALS]; |
- | |
23 | - | ||
24 | extern void InitSwitches(void); |
21 | extern void InitSwitches(void); |
25 | 22 | ||
26 | extern void reset_dial(int dial,int value); |
23 | extern void reset_dial(int dial,int value); |
27 | 24 | ||
28 | extern void HandleSwitches(void); |
25 | extern void HandleSwitches(void); |
29 | 26 | ||
- | 27 | /// @brief Get the difference in count between the last call and this call |
|
- | 28 | extern int get_dial_diff(int dial); |
|
- | 29 | ||
30 | 30 | ||
31 | #if defined __cplusplus |
31 | #if defined __cplusplus |
32 | } |
32 | } |
33 | #endif |
33 | #endif |
34 | 34 |