diff --git a/lib/LinkUniversal.hpp b/lib/LinkUniversal.hpp index 2706778..ec8006c 100644 --- a/lib/LinkUniversal.hpp +++ b/lib/LinkUniversal.hpp @@ -450,7 +450,14 @@ class LinkUniversal { linkWireless->_onTimer(); } + /** + * @brief The internal `LinkCable` instance. + */ LinkCable* linkCable; + + /** + * @brief The internal `LinkWireless` instance. + */ LinkWireless* linkWireless; private: diff --git a/lib/LinkWireless.hpp b/lib/LinkWireless.hpp index 59f709e..9fcb249 100644 --- a/lib/LinkWireless.hpp +++ b/lib/LinkWireless.hpp @@ -884,6 +884,11 @@ class LinkWireless { */ Config config; + /** + * @brief The internal `LinkRawWireless` instance. + */ + LinkRawWireless* linkRawWireless = new LinkRawWireless(); + private: using MessageQueue = Link::Queue; @@ -957,7 +962,6 @@ class LinkWireless { SessionState sessionState; AsyncCommand asyncCommand; - LinkRawWireless* linkRawWireless = new LinkRawWireless(); u32 nextAsyncCommandData[LINK_WIRELESS_MAX_COMMAND_TRANSFER_LENGTH]; u32 nextAsyncCommandDataSize = 0; volatile bool isSendingSyncCommand = false;