zebra-report: send chat data at decoder baud (fix messages not crossing)
This commit is contained in:
parent
c25cddfc40
commit
a502b98fb2
1 changed files with 3 additions and 1 deletions
|
|
@ -1597,7 +1597,9 @@ async function sendCurrentMsg() {
|
|||
if (!msg) return;
|
||||
if (!carrierOn) { logLine('err', 'start carrier first'); return; }
|
||||
const mode = currentMode();
|
||||
const baud = negotiatedBaud || myMaxBaud || ZEBRA_BAUD_DEFAULT;
|
||||
/* must match the inbound decoder, which stays at ZEBRA_BAUD_HANDSHAKE for the
|
||||
* life of the link — data sent at any other baud won't decode on the far side. */
|
||||
const baud = ZEBRA_BAUD_HANDSHAKE;
|
||||
try {
|
||||
if (mode === 'passphrase') {
|
||||
if (!groupKey) { logLine('err', 'no room key'); return; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue