From e1c782a206b37830560f8f43185400e996d24099 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Mon, 26 Sep 2016 00:51:56 +0800 Subject: [PATCH] components/esp32,bt: fix typos in comments --- components/bt/include/bt.h | 8 ++++---- components/esp32/include/esp_event.h | 2 +- components/esp32/include/esp_task.h | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/components/bt/include/bt.h b/components/bt/include/bt.h index 0dc042493..1e89f96aa 100644 --- a/components/bt/include/bt.h +++ b/components/bt/include/bt.h @@ -30,7 +30,7 @@ extern "C" { */ void bt_controller_init(); -/* @breif: vhci_host_callback +/** @brief: vhci_host_callback * used for vhci call host function to notify what host need to do * * notify_host_send_available: notify host can send packet to controller @@ -42,20 +42,20 @@ typedef struct vhci_host_callback { int (*notify_host_recv)(uint8_t *data, uint16_t len); } vhci_host_callback_t; -/* @breif: API_vhci_host_check_send_available +/** @brief: API_vhci_host_check_send_available * used for check actively if the host can send packet to controller or not. * return true for ready to send, false means cannot send packet */ bool API_vhci_host_check_send_available(void); -/* @breif: API_vhci_host_send_packet +/** @brief: API_vhci_host_send_packet * host send packet to controller * param data is the packet point, the param len is the packet length * return void */ void API_vhci_host_send_packet(uint8_t *data, uint16_t len); -/* @breif: API_vhci_host_register_callback +/** @brief: API_vhci_host_register_callback * register the vhci referece callback, the call back * struct defined by vhci_host_callback structure. * param is the vhci_host_callback type variable diff --git a/components/esp32/include/esp_event.h b/components/esp32/include/esp_event.h index 0b61b7021..34358a267 100644 --- a/components/esp32/include/esp_event.h +++ b/components/esp32/include/esp_event.h @@ -101,7 +101,7 @@ typedef union { } system_event_info_t; typedef struct { - system_event_id_t event_id; /**< even ID */ + system_event_id_t event_id; /**< event ID */ system_event_info_t event_info; /**< event information */ } system_event_t; diff --git a/components/esp32/include/esp_task.h b/components/esp32/include/esp_task.h index 0a68e5d91..bb028bf48 100644 --- a/components/esp32/include/esp_task.h +++ b/components/esp32/include/esp_task.h @@ -15,10 +15,10 @@ /* Notes: * 1. Put all task priority and stack size definition in this file * 2. If the task priority is less than 10, use ESP_TASK_PRIO_MIN + X style, - * otherwise use ESP_TASK_PRIO_MIN - X style - * 3. If this is a daemon task, the macro prifix is ESP_TASKD_, otherwise + * otherwise use ESP_TASK_PRIO_MAX - X style + * 3. If this is a daemon task, the macro prefix is ESP_TASKD_, otherwise * it's ESP_TASK_ - * 4. If the configMAX_PRIORITIES is modified, please make all prority are + * 4. If the configMAX_PRIORITIES is modified, please make all priority are * greater than 0 * 5. Make sure esp_task.h is consistent between wifi lib and idf */