updates to work with new protobuf names

This commit is contained in:
Kevin Hester committed 2021-02-10 16:18:41 +08:00
1 parent 8e8170b667
commit fdfe62edf0
13 files changed
+79 -79

No files matched your search

+1 -1
View File
@@ -201,7 +201,7 @@ static void drawTextMessageFrame(OLEDDisplay *display, OLEDDisplayUiState *state
// the max length of this buffer is much longer than we can possibly print
static char tempBuf[96];
assert(mp.decoded.which_payload == SubPacket_data_tag);
assert(mp.decoded.which_payloadVariant == SubPacket_data_tag);
snprintf(tempBuf, sizeof(tempBuf), " %s", mp.decoded.data.payload.bytes);
display->drawStringMaxWidth(4 + x, 10 + y, SCREEN_WIDTH - (6 + x), tempBuf);