gatt_client: fix spelling

This commit is contained in:
Matthias Ringwald 2023-10-25 14:38:35 +02:00
parent d4d9523ffb
commit 4c7c987f92
2 changed files with 3 additions and 3 deletions

View File

@ -1343,7 +1343,7 @@ static bool gatt_client_run_for_gatt_client(gatt_client_t * gatt_client){
break;
case P_W2_SEND_SIGNED_WRITE: {
gatt_client->state = P_W4_SEND_SINGED_WRITE_DONE;
gatt_client->state = P_W4_SEND_SIGNED_WRITE_DONE;
// bump local signing counter
uint32_t sign_counter = le_device_db_local_counter_get(gatt_client->le_device_index);
le_device_db_local_counter_set(gatt_client->le_device_index, sign_counter + 1);

View File

@ -134,7 +134,7 @@ typedef enum {
P_W4_CMAC_READY,
P_W4_CMAC_RESULT,
P_W2_SEND_SIGNED_WRITE,
P_W4_SEND_SINGED_WRITE_DONE,
P_W4_SEND_SIGNED_WRITE_DONE,
P_W2_SDP_QUERY,
P_W4_SDP_QUERY,
@ -170,7 +170,7 @@ typedef enum {
typedef struct gatt_client{
btstack_linked_item_t item;
// TODO: rename gatt_client_state -> state
gatt_client_state_t state;
// user callback