Skip to content

Commit 44c5c7e

Browse files
committed
Formatting fix
1 parent e08b200 commit 44c5c7e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

features/FEATURE_BLE/targets/TARGET_Maxim/MaximGattServer.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,10 @@ ble_error_t MaximGattServer::addService_(GattService &service)
147147
currAtt->maxLen = p_char->getValueAttribute().getMaxLength();
148148
currAtt->settings = ATTS_SET_WRITE_CBACK | ATTS_SET_READ_CBACK;
149149

150-
if(p_char->getValueAttribute().hasVariableLength())
151-
{
150+
if(p_char->getValueAttribute().hasVariableLength()) {
152151
currAtt->settings |= ATTS_SET_VARIABLE_LEN;
153152
}
154-
153+
155154
if (p_char->getValueAttribute().getUUID().shortOrLong() == UUID::UUID_TYPE_LONG) {
156155
currAtt->settings |= ATTS_SET_UUID_128;
157156
}

0 commit comments

Comments
 (0)