8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d6b9d0 commit 6fe1c4cCopy full SHA for 6fe1c4c
libraries/BLE/src/BLEAddress.cpp
@@ -71,7 +71,7 @@ bool BLEAddress::operator!=(const BLEAddress& otherAddress) const {
71
}
72
73
bool BLEAddress::operator<(const BLEAddress& otherAddress) const {
74
- return memcmp(otherAddress.m_address, m_address, ESP_BD_ADDR_LEN) < 0;
+ return memcmp(m_address, otherAddress.m_address, ESP_BD_ADDR_LEN) < 0;
75
76
77
bool BLEAddress::operator<=(const BLEAddress& otherAddress) const {
@@ -83,7 +83,7 @@ bool BLEAddress::operator>=(const BLEAddress& otherAddress) const {
83
84
85
bool BLEAddress::operator>(const BLEAddress& otherAddress) const {
86
- return memcmp(otherAddress.m_address, m_address, ESP_BD_ADDR_LEN) > 0;
+ return memcmp(m_address, otherAddress.m_address, ESP_BD_ADDR_LEN) > 0;
87
88
89
/**
0 commit comments