payload.cpp: bugfix cayenne

This commit is contained in:
Klaus K Wilting 2018-12-09 22:11:45 +01:00
parent e733dba9f4
commit dadab1bd14

View File

@ -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) #elif (PAYLOAD_ENCODER == 3 || PAYLOAD_ENCODER == 4)
void PayloadConvert::addCount(uint16_t value, uint8_t snifftype) { void PayloadConvert::addCount(uint16_t value, uint8_t snifftype) {
select(snifftype) { switch(snifftype) {
case MAC_SNIFF_WIFI: case MAC_SNIFF_WIFI:
#if (PAYLOAD_ENCODER == 3) #if (PAYLOAD_ENCODER == 3)
buffer[cursor++] = LPP_COUNT_WIFI_CHANNEL; buffer[cursor++] = LPP_COUNT_WIFI_CHANNEL;