Commit Graph

2 Commits (68cf0d454c66095ac8ed8bbada1bf6c2822ec8b8)

Author SHA1 Message Date
Wez Furlong be4e75423a Tidy up atomicity in timer.c and ring_buffer.h
Adopt the macros for saving/restoring the interrupt state
that are provided by the avr gcc environment.

Removing intialization of the timer value; this shaves off
a few bytes because globals are default initialized to zero.
8 years ago
Jun Wako e98b800723 Move ring_buffer.h file 10 years ago