From: Ivan Grokhotkov Date: Sun, 25 Sep 2016 16:51:56 +0000 (+0800) Subject: components/esp32,bt: fix typos in comments X-Git-Tag: v0.9~17^2~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e1c782a206b37830560f8f43185400e996d24099;p=esp-idf components/esp32,bt: fix typos in comments --- diff --git a/components/bt/include/bt.h b/components/bt/include/bt.h index 0dc0424939..1e89f96aa1 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 0b61b70219..34358a2675 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 0a68e5d919..bb028bf485 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 */