diff options
Diffstat (limited to 'ports/ARM7-AT91SAM7X/sam7x_serial.h')
-rw-r--r-- | ports/ARM7-AT91SAM7X/sam7x_serial.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ports/ARM7-AT91SAM7X/sam7x_serial.h b/ports/ARM7-AT91SAM7X/sam7x_serial.h index 93ff762e8..d103a8a1e 100644 --- a/ports/ARM7-AT91SAM7X/sam7x_serial.h +++ b/ports/ARM7-AT91SAM7X/sam7x_serial.h @@ -44,8 +44,8 @@ * @note It is possible to use @p SetUART() in order to change the working
* parameters at runtime.
*/
-#if !defined(SAM7X_UART_BITRATE) || defined(__DOXYGEN__)
-#define SAM7X_UART_BITRATE 38400
+#if !defined(SAM7X_USART_BITRATE) || defined(__DOXYGEN__)
+#define SAM7X_USART_BITRATE 38400
#endif
/**
@@ -69,7 +69,7 @@ #ifdef __cplusplus
extern "C" {
#endif
- void InitSerial(int prio0, int prio1);
+ void sam7x_serial_init(int prio0, int prio1);
void SetUSART(AT91PS_USART u, int speed, int mode);
CH_IRQ_HANDLER(UART0IrqHandler);
CH_IRQ_HANDLER(UART1IrqHandler);
|