/** This function is executed by the timer */ void handle_timer (TimerId id, void *data, unsigned long delta) { if (wakeup(3) && send_loop()) decode_and_send_to_ivy(); }
/** * Get data from the station and send it via Ivy. * This function is executed by the timer. */ void handle_timer (TimerId id, void *data, unsigned long delta) { if (send_S()) decode_and_send_to_ivy(); }