thermferm/thermferm.c

changeset 505
727fe541a48d
parent 504
862de87f9f89
child 507
80344f433a78
equal deleted inserted replaced
504:862de87f9f89 505:727fe541a48d
1992 device_out(unit->fan_address, unit->fan_state); 1992 device_out(unit->fan_address, unit->fan_state);
1993 device_out(unit->light_address, unit->light_state); 1993 device_out(unit->light_address, unit->light_state);
1994 syslog(LOG_NOTICE, "Unit `%s' stopped in mode %s", unit->name, UNITMODE[unit->mode]); 1994 syslog(LOG_NOTICE, "Unit `%s' stopped in mode %s", unit->name, UNITMODE[unit->mode]);
1995 } 1995 }
1996 1996
1997 usleep(100000);
1997 mqtt_disconnect(); 1998 mqtt_disconnect();
1998 1999
1999 syslog(LOG_NOTICE, "Out of loop"); 2000 syslog(LOG_NOTICE, "Out of loop");
2000 if (debug) 2001 if (debug)
2001 fprintf(stdout, (char *)"Out of loop\n"); 2002 fprintf(stdout, (char *)"Out of loop\n");

mercurial