diff --git a/firmware/console/binary/ts_can_channel.cpp b/firmware/console/binary/ts_can_channel.cpp index f2105b7b5d..6f562502d4 100644 --- a/firmware/console/binary/ts_can_channel.cpp +++ b/firmware/console/binary/ts_can_channel.cpp @@ -19,7 +19,7 @@ #endif -class CanTsChannel : public TsChannelBase { +class CanTsChannel final : public TsChannelBase { public: CanTsChannel() : TsChannelBase("CAN") { diff --git a/firmware/console/binary/tunerstudio_io.h b/firmware/console/binary/tunerstudio_io.h index a2c1638bbe..7c446c0083 100644 --- a/firmware/console/binary/tunerstudio_io.h +++ b/firmware/console/binary/tunerstudio_io.h @@ -85,7 +85,7 @@ public: #if HAL_USE_SERIAL // This class implements a ChibiOS Serial Driver -class SerialTsChannel : public SerialTsChannelBase { +class SerialTsChannel final : public SerialTsChannelBase { public: SerialTsChannel(SerialDriver& driver) : SerialTsChannelBase("Serial"), m_driver(&driver) { } @@ -102,7 +102,7 @@ private: #if HAL_USE_UART // This class implements a ChibiOS UART Driver -class UartTsChannel : public SerialTsChannelBase { +class UartTsChannel final : public SerialTsChannelBase { public: UartTsChannel(UARTDriver& driver) : SerialTsChannelBase("UART"), m_driver(&driver) { } diff --git a/firmware/console/ethernet_console.cpp b/firmware/console/ethernet_console.cpp index 377f80e904..f52526f9dc 100644 --- a/firmware/console/ethernet_console.cpp +++ b/firmware/console/ethernet_console.cpp @@ -25,7 +25,7 @@ static void do_connection() { connectionSocket = lwip_accept(listenerSocket, (sockaddr*)&remote, &size); } -class EthernetChannel : public TsChannelBase { +class EthernetChannel final : public TsChannelBase { public: EthernetChannel() : TsChannelBase("Ethernet") diff --git a/firmware/console/usb_console.cpp b/firmware/console/usb_console.cpp index 6f4cc4d074..b8048f9405 100644 --- a/firmware/console/usb_console.cpp +++ b/firmware/console/usb_console.cpp @@ -12,7 +12,7 @@ static_assert(SERIAL_USB_BUFFERS_SIZE >= BLOCKING_FACTOR + 10); extern SerialUSBDriver EFI_CONSOLE_USB_DEVICE; -class UsbChannel : public TsChannelBase { +class UsbChannel final : public TsChannelBase { public: UsbChannel(SerialUSBDriver& driver) : TsChannelBase("USB"), m_channel(reinterpret_cast(&driver))