mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
component/bt: fix type error for ble_spp_client when SUPPORT_HEARTBEAT is enabled
This commit is contained in:
parent
d8c80509bc
commit
d02e36f4ff
@ -493,7 +493,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 New Issue
Block a user