aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/ring.h
blob: 6e659e5622e4a50c738e2260ad6896a43b1f84a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef RING_H_
#define RING_H_

#include "util.h"


uint8_t ring_next(uint8_t current, uint8_t max_index);
uint8_t ring_prev(uint8_t current, uint8_t max_index);


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