mirror of https://github.com/ARMmbed/mbed-os.git
Formatting fix
parent
e08b200eef
commit
44c5c7ef5a
|
@ -147,8 +147,7 @@ ble_error_t MaximGattServer::addService_(GattService &service)
|
||||||
currAtt->maxLen = p_char->getValueAttribute().getMaxLength();
|
currAtt->maxLen = p_char->getValueAttribute().getMaxLength();
|
||||||
currAtt->settings = ATTS_SET_WRITE_CBACK | ATTS_SET_READ_CBACK;
|
currAtt->settings = ATTS_SET_WRITE_CBACK | ATTS_SET_READ_CBACK;
|
||||||
|
|
||||||
if(p_char->getValueAttribute().hasVariableLength())
|
if(p_char->getValueAttribute().hasVariableLength()) {
|
||||||
{
|
|
||||||
currAtt->settings |= ATTS_SET_VARIABLE_LEN;
|
currAtt->settings |= ATTS_SET_VARIABLE_LEN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue