main/task_mqtt.c

changeset 16
e38ffa806e84
parent 12
7dc9003f86a8
child 23
58a328e91881
--- a/main/task_mqtt.c	Sat Oct 26 14:05:17 2019 +0200
+++ b/main/task_mqtt.c	Wed Oct 30 23:21:46 2019 +0100
@@ -91,7 +91,7 @@
      */
     if (xSemaphoreTake(xSemaphorePcounter, 10) == pdTRUE) {
         count_pub++;
-printf("  up %d\n", count_pub);
+//printf("  up %d\n", count_pub);
         xSemaphoreGive(xSemaphorePcounter);
     } else {
         ESP_LOGE(TAG, "Missed lock 1");
@@ -288,7 +288,7 @@
 	    if (xSemaphoreTake(xSemaphorePcounter, 10) == pdTRUE) {
 	    	if (count_pub) {
 		    count_pub--;
-printf("down %d\n", count_pub);
+//printf("down %d\n", count_pub);
 	    	}
 		xSemaphoreGive(xSemaphorePcounter);
 	    } else {

mercurial