]> granicus.if.org Git - esp-idf/commitdiff
esp32: fix typos in rom/uart.h
authorIvan Grokhotkov <ivan@espressif.com>
Thu, 25 Oct 2018 04:56:56 +0000 (12:56 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Mon, 19 Nov 2018 04:36:31 +0000 (12:36 +0800)
components/esp32/include/rom/uart.h

index 872244573437312963249b86af717d6c4bb0ea51..a010bfbca471c2b640d50d5dcbc05ebd2d838ba7 100644 (file)
@@ -36,7 +36,7 @@ extern "C" {
 #define RX_BUFF_SIZE                     0x100
 #define TX_BUFF_SIZE                     100
 
-//uart int enalbe register ctrl bits
+//uart int enable register ctrl bits
 #define UART_RCV_INTEN                   BIT0
 #define UART_TRX_INTEN                   BIT1
 #define UART_LINE_STATUS_INTEN           BIT2
@@ -301,14 +301,14 @@ char uart_rx_one_char_block(void);
   *
   * @param  uint8_t *pString : the pointer to store the string.
   *
-  * @param  uint8_t MaxStrlen : the max string length, incude '\0'.
+  * @param  uint8_t MaxStrlen : the max string length, include '\0'.
   *
   * @return OK.
   */
 STATUS UartRxString(uint8_t *pString, uint8_t MaxStrlen);
 
 /**
-  * @brief Process uart recevied information in the interrupt handler.
+  * @brief Process uart received information in the interrupt handler.
   *        Please do not call this function in SDK.
   *
   * @param  void *para : the message receive buffer.