small cleanups

This commit is contained in:
Klaus K Wilting committed 2020-07-19 16:03:15 +02:00
1 parent 6b785fedd7
commit 48cdb06c2c
4 files changed
+11 -10

No files matched your search

+1
View File
@@ -582,6 +582,7 @@ const char *getCrName(rps_t rps) {
#if (VERBOSE)
// decode LORAWAN MAC message
// see https://github.com/mcci-catena/arduino-lmic/blob/master/doc/LoRaWAN-at-a-glance.pdf
void mac_decode(const uint8_t cmd[], const uint8_t cmdlen, bool is_down) {
if (!cmdlen)
+2 -2
View File
@@ -16,8 +16,8 @@ esp_err_t mqtt_init(void) {
// setup network connection
WiFi.onEvent(NetworkEvent);
ETH.begin();
// WiFi.mode(WIFI_STA);
// WiFi.begin("SSID", "PW");
//WiFi.mode(WIFI_STA);
//WiFi.begin("SSID", "PASSWORD");
// setup mqtt client
mqttClient.begin(MQTT_SERVER, MQTT_PORT, netClient);