18:3f4823083b9d | 19:eaa03048c269 |
---|---|
357 * Initialise is complete, report our presence state | 357 * Initialise is complete, report our presence state |
358 */ | 358 */ |
359 mosquitto_loop_start(mosq); | 359 mosquitto_loop_start(mosq); |
360 sprintf(buf, "1"); | 360 sprintf(buf, "1"); |
361 rc = mosquitto_publish(mosq, &mid_sent, state, strlen(buf), buf, qos, 1); | 361 rc = mosquitto_publish(mosq, &mid_sent, state, strlen(buf), buf, qos, 1); |
362 #ifdef HAVE_WIRINGPI_H | |
363 setBacklight(0); | |
364 #endif | |
362 | 365 |
363 /* | 366 /* |
364 * Report alias names | 367 * Report alias names |
365 */ | 368 */ |
366 for (tmp1 = Config.w1therms; tmp1; tmp1 = old1) { | 369 for (tmp1 = Config.w1therms; tmp1; tmp1 = old1) { |