This commit is contained in:
MX
2023-09-11 18:51:14 +03:00
parent d4cad7b8c6
commit 091210c003
3 changed files with 17 additions and 17 deletions

View File

@@ -14,7 +14,6 @@ void flipper_gatt_characteristic_init(
furi_assert(char_instance);
// Copy the descriptor to the instance, since it may point to stack memory
// TODO: only copy if really comes from stack
char_instance->characteristic = malloc(sizeof(FlipperGattCharacteristicParams));
memcpy(
(void*)char_instance->characteristic,