Merge branch 'bugfix/btdm_ble_spp_client_heartbeat' into 'master'
component/bt: fix type error for ble_spp_client when SUPPORT_HEARTBEAT is enabled See merge request idf/esp-idf!1876
This commit is contained in:
commit
52667d8291
1 changed files with 1 additions and 1 deletions
|
@ -494,7 +494,7 @@ void spp_heart_beat_task(void * arg)
|
|||
spp_conn_id,
|
||||
(db+SPP_IDX_SPP_HEARTBEAT_VAL)->attribute_handle,
|
||||
sizeof(heartbeat_s),
|
||||
(char *)heartbeat_s,
|
||||
(uint8_t *)heartbeat_s,
|
||||
ESP_GATT_WRITE_TYPE_RSP,
|
||||
ESP_GATT_AUTH_REQ_NONE);
|
||||
vTaskDelay(5000 / portTICK_PERIOD_MS);
|
||||
|
|
Loading…
Reference in a new issue