 
 			log_dbg("WiFi connected\n\r");
 			log_dbg("IP address: ");
-			USE_SERIAL.println(WiFi.localIP());
+			LOG_SERIAL.println(WiFi.localIP());
 
 			if (digitalRead(NEURITE_BUTTON) == LOW) {
 				ticker_led.detach();

	dbg_assert(cp);
	if (cp->data_len > 0) {
		log_dbg("msg launch(len %d): %s\n\r", cp->data_len, cp->buf);
//		MQTT_Publish(&g_nd.mc, g_nd.nmcfg.topic_to, cp->buf, cp->data_len, 0, 0);
	}
	__bzero(cp->buf, cp->buf_size);
	cp->data_len = 0;


void setup()
{
	LOG_SERIAL.begin(115200);
	LOG_SERIAL.setDebugOutput(false);
	LOG_SERIAL.printf("\n\r");
	LOG_SERIAL.flush();
	pinMode(NEURITE_LED, OUTPUT);
	digitalWrite(NEURITE_LED, HIGH);
	pinMode(NEURITE_BUTTON, INPUT);
