Browse Source

Remove constant 10s

Per Mårtensson 1 month ago
parent
commit
df8ab95fdd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/rtl_airband.cpp

+ 1 - 1
src/rtl_airband.cpp

@@ -225,7 +225,7 @@ void* belysning_control_thread(void*){
         }
         // Prolong
         if (active==true && prolong==true){
-            if (tv.tv_sec+10 >= stop_time){
+            if (tv.tv_sec+bel_prolong_time >= stop_time){
                 stop_time=tv.tv_sec+bel_prolong_time;
                 if (tui)
                     printf("Prolong %u\n",bel_prolong_time);