Change all slip_arch_init implementations
This commit is contained in:
parent
e1df7be496
commit
aa07073acd
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user