From cddc16dc2e1b8dd16e42641cba5bffd534db0e02 Mon Sep 17 00:00:00 2001 From: "D.R.racer" Date: Thu, 23 Sep 2021 13:14:28 +0200 Subject: [PATCH] Tune USB CDC class + doc --- src/modules/usb_cdc.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/usb_cdc.h b/src/modules/usb_cdc.h index a64e254..9ffe938 100644 --- a/src/modules/usb_cdc.h +++ b/src/modules/usb_cdc.h @@ -8,16 +8,16 @@ namespace usb { class CDC { public: - constexpr inline CDC() {} + constexpr inline CDC() = default; + /// Calls USB_Init from the LUFA library void Init(); + /// Calls USB_USBTask from the LUFA library - basically takes care about the runtime of USB CDC operation void Step(); - -private: }; -/// The one and only instance of Selector in the FW +/// The one and only instance of USB CDC in the FW extern CDC cdc; } // namespace usb