Merge pull request #1961 from jdede/uart-init

Do not initialize and use the wrong UART (z1)
This commit is contained in:
Antonio Lignan 2016-12-02 15:41:32 +01:00 committed by GitHub
commit 94854177e2

View file

@ -40,9 +40,7 @@
#include <stdio.h>
#include <string.h>
/* Only for TMOTE Sky? */
#include "dev/serial-line.h"
#include "dev/uart1.h"
#include "net/ipv6/uip-ds6-route.h"
#define UDP_CLIENT_PORT 8765
@ -204,11 +202,6 @@ PROCESS_THREAD(udp_client_process, ev, data)
PRINTF(" local/remote port %u/%u\n",
UIP_HTONS(client_conn->lport), UIP_HTONS(client_conn->rport));
/* initialize serial line */
uart1_set_input(serial_line_input_byte);
serial_line_init();
#if WITH_COMPOWER
powertrace_sniff(POWERTRACE_ON);
#endif