payload.cpp edited

This commit is contained in:
Klaus K Wilting 2018-06-18 00:39:46 +02:00
parent 8ad8512eb2
commit f3ca06fa31

View File

@ -170,9 +170,8 @@ void TTNpacked::writeTemperature(float temperature) {
t = ~-t; t = ~-t;
t = t + 1; t = t + 1;
} }
buffer[cursor] = (byte)((t >> 8) & 0xFF); buffer[cursor++] = (byte)((t >> 8) & 0xFF);
buffer[cursor+1] = (byte)t & 0xFF; buffer[cursor++] = (byte)t & 0xFF;
cursor += 2;
} }
void TTNpacked::writeBitmap(bool a, bool b, bool c, bool d, bool e, bool f, void TTNpacked::writeBitmap(bool a, bool b, bool c, bool d, bool e, bool f,