|
@@ -211,7 +211,7 @@ void* belysning_control_thread(void*){
|
|
|
}else{
|
|
|
prolong = false;
|
|
|
}
|
|
|
- printf("DATA %u, %ld, %ld, %ld %u %ld\n",sq_status,sq_start_time,audio_start_time,tv.tv_sec,prolong,stop_time);
|
|
|
+ //printf("DATA %u, %ld, %ld, %ld %u %ld\n",sq_status,sq_start_time,audio_start_time,tv.tv_sec,prolong,stop_time);
|
|
|
//Check if we should start
|
|
|
if (sq_status == true && sq_start_time+bel_open_time < tv.tv_sec && audio_start_time+bel_open_time < tv.tv_sec){
|
|
|
sq_start_time=sq_start_time;
|