ring.h 186 B

123456789101112
  1. #ifndef RING_H_
  2. #define RING_H_
  3. #include "util.h"
  4. uint8_t ring_next(uint8_t current, uint8_t max_index);
  5. uint8_t ring_prev(uint8_t current, uint8_t max_index);
  6. #endif /* RING_H_ */