pocsag: Add option to change text message padding character

This commit is contained in:
Andreas Eversberg
2024-04-10 21:30:35 +02:00
parent f294261285
commit b642f82390
4 changed files with 17 additions and 4 deletions

View File

@@ -237,7 +237,7 @@ static uint32_t encode_alpha(pocsag_msg_t *msg)
/* fill remaining digit space with 0x04 (EOT) */
while (bits <= 13) {
word = (word << 7) | 0x10;
word = (word << 7) | msg->padding;
bits += 7;
}