Skip to content

Commit 415f975

Browse files
committed
modified typo
1 parent fe4edae commit 415f975

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_adc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ void ADC_Init (void)
4444
// ADC_CLK on
4545
ADC_PowerDownEnable(ENABLE);
4646
ADC_PowerDownEnable(DISABLE);
47-
//ADC_ChannelSelect(num);
47+
//ADC_ChannelSelect(num);
4848
}
4949

5050
void ADC_DeInit (void)
5151
{
52-
// ADC_CLK off
52+
// ADC_CLK off
5353
ADC_PowerDownEnable(ENABLE);
54-
ADC_InterruptMask(DISABLE);
54+
ADC_InterruptMask(DISABLE);
5555
}
5656

targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_uart.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ typedef struct
130130
#define UART_Mode_Rx ((uint16_t)(UART_CR_RXE))
131131
#define UART_Mode_Tx ((uint16_t)(UART_CR_TXE))
132132
#define IS_UART_MODE(MODE) (((MODE) == UART_Mode_Rx) || \
133-
((MODE) == UART_Mode_Tx) || \
134-
((MODE) == (URAT_Mode_Rx | UART_Mode_Tx)))
133+
((MODE) == UART_Mode_Tx) || \
134+
((MODE) == (UART_Mode_Rx | UART_Mode_Tx)))
135135

136136
/**
137137
* @}
@@ -222,7 +222,7 @@ typedef struct
222222
#define UART_IT_FLAG_FEI ((uint16_t)0x01UL << 7) /*!< Framing error interrupt */
223223
#define UART_IT_FLAG_RTI ((uint16_t)0x01UL << 6) /*!< Receive timeout interrupt */
224224
#define UART_IT_FLAG_TXI ((uint16_t)0x01UL << 5) /*!< Transmit interrupt */
225-
#define UART_IT_FLAG_RXI ((uint16_t)0x01UL << 4) /*!< Receive interruptt */
225+
#define UART_IT_FLAG_RXI ((uint16_t)0x01UL << 4) /*!< Receive interrupt */
226226
#define UART_IT_FLAG_DSRMI ((uint16_t)0x01UL << 3) /*!< UARTDSR modem interrupt */
227227
#define UART_IT_FLAG_DCDMI ((uint16_t)0x01UL << 2) /*!< UARTDCD modem interrupt */
228228
#define UART_IT_FLAG_CTSMI ((uint16_t)0x01UL << 1) /*!< UARTCTS modem interrupt */

0 commit comments

Comments
 (0)