Change all slip_arch_init implementations

This commit is contained in:
George Oikonomou 2017-10-29 04:21:36 +00:00
parent e1df7be496
commit aa07073acd
6 changed files with 6 additions and 8 deletions

View File

@ -74,10 +74,9 @@ slip_arch_writeb(unsigned char c)
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
/** /**
* \brief Initialise the arch-specific SLIP driver * \brief Initialise the arch-specific SLIP driver
* \param ubr Ignored for the cc2538
*/ */
void void
slip_arch_init(unsigned long ubr) slip_arch_init()
{ {
set_input(slip_input_byte); set_input(slip_input_byte);
} }

View File

@ -53,10 +53,9 @@ slip_arch_writeb(unsigned char c)
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
/** /**
* \brief Initialise the arch-specific SLIP driver * \brief Initialise the arch-specific SLIP driver
* \param ubr Ignored for the cc26xx
*/ */
void void
slip_arch_init(unsigned long ubr) slip_arch_init()
{ {
/* /*
* Enable an input handler. In doing so, the driver will make sure that UART * Enable an input handler. In doing so, the driver will make sure that UART

View File

@ -46,7 +46,7 @@ slip_arch_writeb(unsigned char c)
* *
*/ */
void void
slip_arch_init(unsigned long ubr) slip_arch_init()
{ {
uart0_set_input(slip_input_byte); uart0_set_input(slip_input_byte);
} }

View File

@ -47,7 +47,7 @@ slip_arch_writeb(unsigned char c)
* *
*/ */
void void
slip_arch_init(unsigned long ubr) slip_arch_init()
{ {
uart1_set_input(slip_input_byte); uart1_set_input(slip_input_byte);
} }

View File

@ -32,7 +32,7 @@
#include "dev/rs232.h" #include "dev/rs232.h"
void void
slip_arch_init(unsigned long ubr) slip_arch_init()
{ {
rs232_set_input(slip_input_byte); rs232_set_input(slip_input_byte);
} }

View File

@ -47,7 +47,7 @@ slip_arch_writeb(unsigned char c)
* *
*/ */
void void
slip_arch_init(unsigned long ubr) slip_arch_init()
{ {
uart0_set_input(slip_input_byte); uart0_set_input(slip_input_byte);
} }