replace PB03 compat macros with the real deal.
This commit is contained in:
1 parent
b8657158be
commit
2ac2b6d1b6
17 files changed
+40
-40
No files matched your search
@@ -201,7 +201,7 @@ void SimRadio::startSend(MeshPacket * txp)
|
||||
} else {
|
||||
DEBUG_MSG("Payload size is larger than compressed message allows! Sending empty payload.\n");
|
||||
}
|
||||
p->decoded.payload.size = pb_encode_to_bytes(p->decoded.payload.bytes, sizeof(p->decoded.payload.bytes), Compressed_fields, &c);
|
||||
p->decoded.payload.size = pb_encode_to_bytes(p->decoded.payload.bytes, sizeof(p->decoded.payload.bytes), &Compressed_msg, &c);
|
||||
p->decoded.portnum = PortNum_SIMULATOR_APP;
|
||||
service.sendToPhone(p); // Sending back to simulator
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user