Browse Source

update

master
zwsd 3 years ago
parent
commit
22ce3f0a55
  1. 5
      .vscode/settings.json
  2. 6
      main/main.c

5
.vscode/settings.json

@ -1,3 +1,6 @@
{
"C_Cpp.errorSquiggles": "Enabled"
"C_Cpp.errorSquiggles": "Enabled",
"files.associations": {
"uart.h": "c"
}
}

6
main/main.c

@ -26,7 +26,7 @@
#include "esp_gatt_defs.h"
#include "esp_bt_main.h"
#include "esp_system.h"
#include "esp_gatt_common_api.h"
#include "esp_gatt_common_api.h"
#include "esp_log.h"
#include "freertos/FreeRTOS.h"
@ -59,11 +59,11 @@ enum
{
SPP_IDX_SVC,
SPP_IDX_SPP_DATA_RECV_VAL,
SPP_IDX_SPP_DATA_NTY_VAL,
SPP_IDX_SPP_DATA_NTF_CFG,
SPP_IDX_SPP_DATA_RECV_VAL,
#ifdef SUPPORT_HEARTBEAT
SPP_IDX_SPP_HEARTBEAT_VAL,
SPP_IDX_SPP_HEARTBEAT_CFG,

Loading…
Cancel
Save