Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
wy-hh committed Sep 9, 2023
1 parent e5081a0 commit 457cb23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ class BLWiFiDriver final : public WiFiDriver
NetworkStatusChangeCallback * mpStatusChangeCallback = nullptr;
int32_t mLastDisconnectedReason;

/** +1 byte for string termination */
char mScanSSID[DeviceLayer::Internal::kMaxWiFiSSIDLength + 1];
uint32_t mScanType;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ class BLWiFiDriver final : public WiFiDriver
NetworkStatusChangeCallback * mpStatusChangeCallback = nullptr;
int32_t mLastDisconnectedReason;

/** +1 byte for string termination */
char mScanSSID[chip::DeviceLayer::Internal::kMaxWiFiSSIDLength + 1];
bool mScanSpecific = false;
};
Expand Down

0 comments on commit 457cb23

Please sign in to comment.