src/prj_threads.c
void threads_init(void)
{
    PT_INIT(&(led_programm_pt[0]));
    PT_INIT(&(led_programm_pt[1]));
    PT_INIT(&button_check_pt);
    PT_INIT(&disable_all_pt);
    PT_SEM_INIT(&disable_all_sem, 0);
    PT_SEM_INIT(&restart_prog_sem, 0);
}
/**
 * @brief Initilize all threads and semaphores
 * 
 */
@brief Initilize all threads and semaphores
@brief Initilize all threads and semaphores
void threads_init(void)
{
    PT_INIT(&(led_programm_pt[0]));
    PT_INIT(&(led_programm_pt[1]));
    PT_INIT(&button_check_pt);
    PT_INIT(&disable_all_pt);
    PT_SEM_INIT(&disable_all_sem, 0);
    PT_SEM_INIT(&restart_prog_sem, 0);
}
void threads_init ( void ) { PT_INIT ( & ( led_programm_pt [ 0 ] ) ) ; PT_INIT ( & ( led_programm_pt [ 1 ] ) ) ; PT_INIT ( & button_check_pt ) ; PT_INIT ( & disable_all_pt ) ; PT_SEM_INIT ( & disable_all_sem , 0 ) ; PT_SEM_INIT ( & restart_prog_sem , 0 ) ; }
@brief Initilize all threads and semaphores
@brief Initilize all threads and semaphores