Documenting internal instances

This commit is contained in:
Rodrigo Alfonso
2025-01-03 09:00:04 -03:00
parent a062a3acd6
commit f9e0e1dd63
2 changed files with 12 additions and 1 deletions

View File

@@ -450,7 +450,14 @@ class LinkUniversal {
linkWireless->_onTimer();
}
/**
* @brief The internal `LinkCable` instance.
*/
LinkCable* linkCable;
/**
* @brief The internal `LinkWireless` instance.
*/
LinkWireless* linkWireless;
private:

View File

@@ -884,6 +884,11 @@ class LinkWireless {
*/
Config config;
/**
* @brief The internal `LinkRawWireless` instance.
*/
LinkRawWireless* linkRawWireless = new LinkRawWireless();
private:
using MessageQueue = Link::Queue<Message, LINK_WIRELESS_QUEUE_SIZE, false>;
@@ -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;