From dadab1bd14849e6f4878b14ce59b8f88e2128dff Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Sun, 9 Dec 2018 22:11:45 +0100 Subject: [PATCH] payload.cpp: bugfix cayenne --- src/payload.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/payload.cpp b/src/payload.cpp index bc950634..71534a24 100644 --- a/src/payload.cpp +++ b/src/payload.cpp @@ -282,7 +282,7 @@ void PayloadConvert::writeBitmap(bool a, bool b, bool c, bool d, bool e, bool f, #elif (PAYLOAD_ENCODER == 3 || PAYLOAD_ENCODER == 4) void PayloadConvert::addCount(uint16_t value, uint8_t snifftype) { - select(snifftype) { + switch(snifftype) { case MAC_SNIFF_WIFI: #if (PAYLOAD_ENCODER == 3) buffer[cursor++] = LPP_COUNT_WIFI_CHANNEL;