From eeb900d8005de14b5160c1312232738494183e61 Mon Sep 17 00:00:00 2001 From: Joshua Harlan Lifton Date: Fri, 13 Sep 2013 22:34:09 -0700 Subject: [PATCH] Fix typo --- .../lm4f/stellaris-ek-lm4f120xl/usb_to_serial_cdcacm/uart.c | 2 +- .../usb_to_serial_cdcacm/usb_to_serial_cdcacm.c | 2 +- .../usb_to_serial_cdcacm/usb_to_serial_cdcacm.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/lm4f/stellaris-ek-lm4f120xl/usb_to_serial_cdcacm/uart.c b/examples/lm4f/stellaris-ek-lm4f120xl/usb_to_serial_cdcacm/uart.c index e97b793..e600569 100644 --- a/examples/lm4f/stellaris-ek-lm4f120xl/usb_to_serial_cdcacm/uart.c +++ b/examples/lm4f/stellaris-ek-lm4f120xl/usb_to_serial_cdcacm/uart.c @@ -94,6 +94,6 @@ void uart1_isr(void) { uint8_t rx; rx = uart_recv(UART1); - glue_data_recieved_cb(&rx, 1); + glue_data_received_cb(&rx, 1); uart_clear_interrupt_flag(UART1, UART_INT_RX); } diff --git a/examples/lm4f/stellaris-ek-lm4f120xl/usb_to_serial_cdcacm/usb_to_serial_cdcacm.c b/examples/lm4f/stellaris-ek-lm4f120xl/usb_to_serial_cdcacm/usb_to_serial_cdcacm.c index 8862f7d..b07d27c 100644 --- a/examples/lm4f/stellaris-ek-lm4f120xl/usb_to_serial_cdcacm/usb_to_serial_cdcacm.c +++ b/examples/lm4f/stellaris-ek-lm4f120xl/usb_to_serial_cdcacm/usb_to_serial_cdcacm.c @@ -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 */ gpio_set(RGB_PORT, LED_B); diff --git a/examples/lm4f/stellaris-ek-lm4f120xl/usb_to_serial_cdcacm/usb_to_serial_cdcacm.h b/examples/lm4f/stellaris-ek-lm4f120xl/usb_to_serial_cdcacm/usb_to_serial_cdcacm.h index 472562b..d8cf869 100644 --- a/examples/lm4f/stellaris-ek-lm4f120xl/usb_to_serial_cdcacm/usb_to_serial_cdcacm.h +++ b/examples/lm4f/stellaris-ek-lm4f120xl/usb_to_serial_cdcacm/usb_to_serial_cdcacm.h @@ -77,7 +77,7 @@ void cdcacm_send_data(uint8_t *buf, uint16_t len); /* ============================================================================= * 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); int glue_set_line_coding_cb(uint32_t baud, uint8_t databits, enum usb_cdc_line_coding_bParityType cdc_parity,