Merge pull request #293 from F4FXL/AX25_FM

Fix wrong frame type
This commit is contained in:
Jonathan Naylor 2020-07-06 06:52:50 +01:00 committed by GitHub
commit 843997ccad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1327,7 +1327,7 @@ void CSerialPort::writeFMData(const uint8_t* data, uint16_t length)
writeInt(1U, reply, length + 4U); writeInt(1U, reply, length + 4U);
} else { } else {
reply[1U] = length + 3U; reply[1U] = length + 3U;
reply[2U] = MMDVM_AX25_DATA; reply[2U] = MMDVM_FM_DATA;
for (uint8_t i = 0U; i < length; i++) for (uint8_t i = 0U; i < length; i++)
reply[i + 3U] = data[i]; reply[i + 3U] = data[i];