Skip to content

Commit

Permalink
Add missing const in NimBLEConnInfo.
Browse files Browse the repository at this point in the history
  • Loading branch information
h2zero committed Jun 13, 2024
1 parent d9ce57f commit a6e1716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NimBLEConnInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ friend class NimBLEDescriptor;
bool isAuthenticated() const { return (m_desc.sec_state.authenticated == 1); }

/** @brief Gets the key size used to encrypt the connection */
uint8_t getSecKeySize() { return m_desc.sec_state.key_size; }
uint8_t getSecKeySize() const { return m_desc.sec_state.key_size; }
};
#endif

0 comments on commit a6e1716

Please sign in to comment.