Przeglądaj źródła

added logger messages to terminate routines of display and server

Sebastian 6 lat temu
rodzic
commit
3c94e71d8b
3 zmienionych plików z 3 dodań i 1 usunięć
  1. 1 1
      CoffeeCode/buildno
  2. 1 0
      CoffeeCode/display.cpp
  3. 1 0
      CoffeeCode/server.cpp

+ 1 - 1
CoffeeCode/buildno

@@ -1 +1 @@
-248
+249

+ 1 - 0
CoffeeCode/display.cpp

@@ -221,6 +221,7 @@ void displayDescaling(event_t *event) {
  */
 
 void displayTerminate(event_t *e) {
+	logger(V_BASIC, "display.cpp: Terminating\n");
 	displayPrintLn(0, "CoffeePi", true);
 	displayPrintLn(1, displayGetString(str_bye), true);
 }

+ 1 - 0
CoffeeCode/server.cpp

@@ -44,6 +44,7 @@ void sendACK() {
  */
 
 void serverTerminate(event_t *e) {
+	logger(V_BASIC, "Server.cpp: Terminating\n");
 	close(sock);
 	close(listen_sock);
 }