bugfix cayenne payload

This commit is contained in:
Verkehrsrot 2018-07-21 13:47:14 +02:00 committed by GitHub
parent d6619d6cff
commit c477376801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -207,7 +207,7 @@ void CayenneLPP::addCount(uint16_t value1, uint16_t value2) {
buffer[cursor++] = value1;
buffer[cursor++] = LPP_COUNT_BLE_CHANNEL;
buffer[cursor++] = LPP_ANALOG_INPUT; // workaround, type meter not found?
buffer[cursor++] = value1 >> 8;
buffer[cursor++] = value2 >> 8;
buffer[cursor++] = value2;
}