Remove all unnecessary BAUD2UBR macro definitions

This commit is contained in:
George Oikonomou 2017-10-29 04:35:37 +00:00
parent 73544572cf
commit a05a6b59d0
5 changed files with 0 additions and 19 deletions

View File

@ -181,10 +181,6 @@ typedef uint32_t rtimer_clock_t;
#define TSCH_DEBUG_SLOT_END()
#endif /* TSCH_DEBUG */
#ifndef BAUD2UBR
#define BAUD2UBR(X) (X)
#endif /* BAUD2UBR */
/* UART baud rates */
#define UART_RATE_4800 0
#define UART_RATE_9600 1

View File

@ -53,10 +53,6 @@
#define DEBUG DEBUG_NONE
#include "net/ipv6/uip-debug.h"
#ifndef BAUD2UBR
#define BAUD2UBR(X) (X)
#endif
void set_prefix_64(uip_ipaddr_t *);
static uip_ipaddr_t last_sender;

View File

@ -53,10 +53,6 @@
#define DEBUG DEBUG_NONE
#include "net/ipv6/uip-debug.h"
#ifndef BAUD2UBR
#define BAUD2UBR(X) (X)
#endif
void set_prefix_64(uip_ipaddr_t *);
static uip_ipaddr_t last_sender;

View File

@ -53,10 +53,6 @@
#define DEBUG DEBUG_NONE
#include "net/ipv6/uip-debug.h"
#ifndef BAUD2UBR
#define BAUD2UBR(X) (X)
#endif
void set_prefix_64(uip_ipaddr_t *);
static uip_ipaddr_t last_sender;

View File

@ -205,9 +205,6 @@ slip_input_callback(void)
static void
init(void)
{
#ifndef BAUD2UBR
#define BAUD2UBR(baud) baud
#endif
slip_arch_init();
process_start(&slip_process, NULL);
slip_set_input_callback(slip_input_callback);