brewco/brewco.c

changeset 468
e8203e891b0e
parent 467
f4d75ef899f4
child 471
1564b60558b1
equal deleted inserted replaced
467:f4d75ef899f4 468:e8203e891b0e
661 /* 661 /*
662 * Give threads time to cleanup 662 * Give threads time to cleanup
663 */ 663 */
664 usleep(1500000); 664 usleep(1500000);
665 prompt(0, NULL); 665 prompt(0, NULL);
666 // stopLCD(); 666 setBacklight(0);
667
667 if (sock != -1) { 668 if (sock != -1) {
668 if (shutdown(sock, SHUT_RDWR)) { 669 if (shutdown(sock, SHUT_RDWR)) {
669 syslog(LOG_NOTICE, "Can't shutdown socket: %s", strerror(errno)); 670 syslog(LOG_NOTICE, "Can't shutdown socket: %s", strerror(errno));
670 } 671 }
671 sock = -1; 672 sock = -1;

mercurial