aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/cpu-firmware/override.h
blob: 940dc53d970b64c12d3d185e6aaaccda389f78a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef OVERRIDE_SWITCH_H_
#define OVERRIDE_SWITCH_H_

#include <stdint.h>

/** override_init - Initialize the feed-override switch */
void override_init(void);
/** override_get_pos - Get the feed-override position.
 * 0 = leftmost, 0xFF = rightmost. */
uint8_t override_get_pos(void);

#endif /* OVERRIDE_SWITCH_H_ */
bues.ch cgit interface