#ifndef _COMMON_H_ #define _COMMON_H_ #define CLEAR_STORE_INTERRUPTS() uint8_t prev_int_reg = SREG; cli() #define RESTORE_INTERRUPTS() SREG = prev_int_reg void async_beep(int time, int freq); void blocking_beep(int time, int freq, int repeat = 0); void common_run(unsigned long t); #endif // _COMMON_H_