Commit Graph

2 Commits (29df2be2a96d5d4d33a8835cf8ec4760098cdaf1)

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