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 e08b200 commit 44c5c7eCopy full SHA for 44c5c7e
features/FEATURE_BLE/targets/TARGET_Maxim/MaximGattServer.cpp
@@ -147,11 +147,10 @@ ble_error_t MaximGattServer::addService_(GattService &service)
147
currAtt->maxLen = p_char->getValueAttribute().getMaxLength();
148
currAtt->settings = ATTS_SET_WRITE_CBACK | ATTS_SET_READ_CBACK;
149
150
- if(p_char->getValueAttribute().hasVariableLength())
151
- {
+ if(p_char->getValueAttribute().hasVariableLength()) {
152
currAtt->settings |= ATTS_SET_VARIABLE_LEN;
153
}
154
-
+
155
if (p_char->getValueAttribute().getUUID().shortOrLong() == UUID::UUID_TYPE_LONG) {
156
currAtt->settings |= ATTS_SET_UUID_128;
157
0 commit comments