payload.cpp edited
This commit is contained in:
parent
8ad8512eb2
commit
f3ca06fa31
@ -170,9 +170,8 @@ void TTNpacked::writeTemperature(float temperature) {
|
||||
t = ~-t;
|
||||
t = t + 1;
|
||||
}
|
||||
buffer[cursor] = (byte)((t >> 8) & 0xFF);
|
||||
buffer[cursor+1] = (byte)t & 0xFF;
|
||||
cursor += 2;
|
||||
buffer[cursor++] = (byte)((t >> 8) & 0xFF);
|
||||
buffer[cursor++] = (byte)t & 0xFF;
|
||||
}
|
||||
|
||||
void TTNpacked::writeBitmap(bool a, bool b, bool c, bool d, bool e, bool f,
|
||||
|
Loading…
Reference in New Issue
Block a user