Fix typo
This commit is contained in:
committed by
Piotr Esden-Tempski
parent
b59c0a9e05
commit
eeb900d800
@@ -94,6 +94,6 @@ void uart1_isr(void)
|
|||||||
{
|
{
|
||||||
uint8_t rx;
|
uint8_t rx;
|
||||||
rx = uart_recv(UART1);
|
rx = uart_recv(UART1);
|
||||||
glue_data_recieved_cb(&rx, 1);
|
glue_data_received_cb(&rx, 1);
|
||||||
uart_clear_interrupt_flag(UART1, UART_INT_RX);
|
uart_clear_interrupt_flag(UART1, UART_INT_RX);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ static void cm4f_enable_fpu(void)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void glue_data_recieved_cb(uint8_t * buf, uint16_t len)
|
void glue_data_received_cb(uint8_t * buf, uint16_t len)
|
||||||
{
|
{
|
||||||
/* Blue LED indicates data coming in */
|
/* Blue LED indicates data coming in */
|
||||||
gpio_set(RGB_PORT, LED_B);
|
gpio_set(RGB_PORT, LED_B);
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ void cdcacm_send_data(uint8_t *buf, uint16_t len);
|
|||||||
/* =============================================================================
|
/* =============================================================================
|
||||||
* CDCACM <-> UART glue
|
* CDCACM <-> UART glue
|
||||||
* ---------------------------------------------------------------------------*/
|
* ---------------------------------------------------------------------------*/
|
||||||
void glue_data_recieved_cb(uint8_t *buf, uint16_t len);
|
void glue_data_received_cb(uint8_t *buf, uint16_t len);
|
||||||
void glue_set_line_state_cb(uint8_t dtr, uint8_t rts);
|
void glue_set_line_state_cb(uint8_t dtr, uint8_t rts);
|
||||||
int glue_set_line_coding_cb(uint32_t baud, uint8_t databits,
|
int glue_set_line_coding_cb(uint32_t baud, uint8_t databits,
|
||||||
enum usb_cdc_line_coding_bParityType cdc_parity,
|
enum usb_cdc_line_coding_bParityType cdc_parity,
|
||||||
|
|||||||
Reference in New Issue
Block a user