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.
2 parents a401e80 + 4095afb commit f809300Copy full SHA for f809300
libraries/Bluefruit52Lib/src/services/BLEBeacon.cpp
@@ -77,8 +77,8 @@ void BLEBeacon::setUuid(uint8_t const uuid128[16])
77
78
void BLEBeacon::setMajorMinor(uint16_t major, uint16_t minor)
79
{
80
- _major_be = major;
81
- _minor_be = minor;
+ _major_be = __swap16(major);
+ _minor_be = __swap16(minor);
82
}
83
84
void BLEBeacon::setRssiAt1m(int8_t rssi)
0 commit comments