diff --git a/firmware/targets/f7/ble_glue/services/gatt_char.c b/firmware/targets/f7/ble_glue/services/gatt_char.c index f6e27f53e6..c06403f559 100644 --- a/firmware/targets/f7/ble_glue/services/gatt_char.c +++ b/firmware/targets/f7/ble_glue/services/gatt_char.c @@ -62,7 +62,7 @@ void flipper_gatt_characteristic_init( char_data_descriptor->security_permissions, char_data_descriptor->access_permissions, char_data_descriptor->gatt_evt_mask, - GATT_MIN_READ_KEY_SIZE, + MIN_ENCRY_KEY_SIZE, char_data_descriptor->is_variable, &char_instance->descriptor_handle); if(status) {