This commit is contained in:
Ing. Jaroslav Šafka 2018-02-01 11:00:29 +01:00 committed by krzychb
parent ca3faa6186
commit 475e3cc43e

View File

@ -631,7 +631,7 @@ static void btc_gattc_prepare_write_char_descr(btc_ble_gattc_args_t *arg)
arg->prep_write_descr.auth_req); arg->prep_write_descr.auth_req);
} }
static void btc_gattc_execute_wrtie(btc_ble_gattc_args_t *arg) static void btc_gattc_execute_write(btc_ble_gattc_args_t *arg)
{ {
BTA_GATTC_ExecuteWrite(arg->exec_write.conn_id, arg->exec_write.is_execute); BTA_GATTC_ExecuteWrite(arg->exec_write.conn_id, arg->exec_write.is_execute);
} }
@ -711,7 +711,7 @@ void btc_gattc_call_handler(btc_msg_t *msg)
btc_gattc_prepare_write_char_descr(arg); btc_gattc_prepare_write_char_descr(arg);
break; break;
case BTC_GATTC_ACT_EXECUTE_WRITE: case BTC_GATTC_ACT_EXECUTE_WRITE:
btc_gattc_execute_wrtie(arg); btc_gattc_execute_write(arg);
break; break;
case BTC_GATTC_ACT_REG_FOR_NOTIFY: case BTC_GATTC_ACT_REG_FOR_NOTIFY:
btc_gattc_reg_for_notify(arg); btc_gattc_reg_for_notify(arg);