mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-15 13:32:53 +00:00
Merge pull request #1961 from jdede/uart-init
Do not initialize and use the wrong UART (z1)
This commit is contained in:
commit
94854177e2
@ -40,9 +40,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
/* Only for TMOTE Sky? */
|
|
||||||
#include "dev/serial-line.h"
|
#include "dev/serial-line.h"
|
||||||
#include "dev/uart1.h"
|
|
||||||
#include "net/ipv6/uip-ds6-route.h"
|
#include "net/ipv6/uip-ds6-route.h"
|
||||||
|
|
||||||
#define UDP_CLIENT_PORT 8765
|
#define UDP_CLIENT_PORT 8765
|
||||||
@ -204,11 +202,6 @@ PROCESS_THREAD(udp_client_process, ev, data)
|
|||||||
PRINTF(" local/remote port %u/%u\n",
|
PRINTF(" local/remote port %u/%u\n",
|
||||||
UIP_HTONS(client_conn->lport), UIP_HTONS(client_conn->rport));
|
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
|
#if WITH_COMPOWER
|
||||||
powertrace_sniff(POWERTRACE_ON);
|
powertrace_sniff(POWERTRACE_ON);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user