示例#1
0
void count_down_init_all_task()
{
    count_down_init(&lock_count_down, lock_count_down_callback);
    count_down_init(&open_count_down, open_count_down_callback);
    count_down_init(&alter_beep_count_down,alter_beep_count_down_callback);
    count_down_init(&trace_beep_count_down, trace_beep_count_down_callback);
    // count_down_init(&schedule_beep_count_down, schedule_beep_count_down_callback);
    count_down_init(&trace_mute_count_down, trace_mute_count_down_callback);
    // count_down_init(&schedule_mute_count_down, schedule_mute_count_down_callback);
    count_down_init(&sleep_count_down,
        sleep_count_down_call_back);
    count_down_init(&open_beep_count_down,
        open_beep_count_down_callback);
    count_down_init(&lock_beep_count_down,
        lock_beep_count_down_callback);
    count_down_init(&resend_command_count_down,resend_lock_command_call_back);

}
示例#2
0
static void init(void) {
  main_init();
  count_down_init();
  sched_init();
  selector_init();
}