diff --git a/firmware/console/binary/tunerstudio_io.cpp b/firmware/console/binary/tunerstudio_io.cpp index d3e50290ec..9f7d03f19c 100644 --- a/firmware/console/binary/tunerstudio_io.cpp +++ b/firmware/console/binary/tunerstudio_io.cpp @@ -69,15 +69,15 @@ void TsChannelBase::writeCrcPacketLarge(uint8_t responseCode, const uint8_t* buf *(uint32_t*)crcBuffer = SWAP_UINT32(crc); // Write header - write(headerBuffer, sizeof(headerBuffer), false); + write(headerBuffer, sizeof(headerBuffer), /*isEndOfPacket*/false); // If data, write that if (size) { - write(buf, size, false); + write(buf, size, /*isEndOfPacket*/false); } // Lastly the CRC footer - write(crcBuffer, sizeof(crcBuffer), true); + write(crcBuffer, sizeof(crcBuffer), /*isEndOfPacket*/true); flush(); } diff --git a/firmware/console/binary/tunerstudio_io_serial.cpp b/firmware/console/binary/tunerstudio_io_serial.cpp index e9a8aff6da..421f7c87f0 100644 --- a/firmware/console/binary/tunerstudio_io_serial.cpp +++ b/firmware/console/binary/tunerstudio_io_serial.cpp @@ -23,7 +23,7 @@ void SerialTsChannel::stop() { sdStop(m_driver); } -void SerialTsChannel::write(const uint8_t* buffer, size_t size, bool) { +void SerialTsChannel::write(const uint8_t* buffer, size_t size, bool /*isEndOfPacket*/) { chnWriteTimeout(m_driver, buffer, size, BINARY_IO_TIMEOUT); } diff --git a/firmware/console/usb_console.cpp b/firmware/console/usb_console.cpp index cc57b85de4..a1ecc96673 100644 --- a/firmware/console/usb_console.cpp +++ b/firmware/console/usb_console.cpp @@ -23,7 +23,7 @@ public: return is_usb_serial_ready(); } - void write(const uint8_t* buffer, size_t size, bool) override { + void write(const uint8_t* buffer, size_t size, bool /*isEndOfPacket*/) override { chnWriteTimeout(m_channel, buffer, size, BINARY_IO_TIMEOUT); }