fix(studio): Correct `memset` usage.

Use the correct memset call to clear our RPC memory.
This commit is contained in:
Peter Johanson 2025-05-29 16:27:08 -06:00
parent 2ba78abe07
commit d4deeec04e
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ static void gatt_tx_notify(struct ring_buf *tx_buf, size_t added, bool msg_done,
static struct gatt_write_state tx_state = {};
static void *gatt_tx_user_data(void) {
memset(&tx_state, sizeof(tx_state), 0);
memset(&tx_state, 0, sizeof(tx_state));
return &tx_state;
}