new command codes for power switches
[svn42.git] / powersensordaemon / command_queue.c
index 09fea0b..e1dbba2 100644 (file)
@@ -86,7 +86,7 @@ int cmd_has_expired(cmd_t cmd)
   struct timeval now;
   timerclear(&now);
   gettimeofday(&now, NULL);
-  cmd.tv_start.tv_sec++;
+  cmd.tv_start.tv_sec+=2;
 
   return timercmp(&cmd.tv_start, &now, <);
 }