mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-15 12:27:50 +00:00
Changes to the ping part of the cc2530 and Sensinode udp-ipv6 examples
- Remove obsolete variable declarations - prettier printf output - cc2530 example turns on printfs
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
#include "dev/button-sensor.h"
|
#include "dev/button-sensor.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
#define DEBUG DEBUG_NONE
|
#define DEBUG DEBUG_PRINT
|
||||||
#include "net/uip-debug.h"
|
#include "net/uip-debug.h"
|
||||||
|
|
||||||
#define PING6_NB 5
|
#define PING6_NB 5
|
||||||
@@ -47,7 +47,6 @@
|
|||||||
|
|
||||||
static struct etimer ping6_periodic_timer;
|
static struct etimer ping6_periodic_timer;
|
||||||
static uint8_t count = 0;
|
static uint8_t count = 0;
|
||||||
static uint16_t addr[8];
|
|
||||||
static uip_ipaddr_t dest_addr;
|
static uip_ipaddr_t dest_addr;
|
||||||
|
|
||||||
PROCESS(ping6_process, "PING6 process");
|
PROCESS(ping6_process, "PING6 process");
|
||||||
|
@@ -49,7 +49,6 @@
|
|||||||
|
|
||||||
static struct etimer ping6_periodic_timer;
|
static struct etimer ping6_periodic_timer;
|
||||||
static uint8_t count = 0;
|
static uint8_t count = 0;
|
||||||
static uint16_t addr[8];
|
|
||||||
static uip_ipaddr_t dest_addr;
|
static uip_ipaddr_t dest_addr;
|
||||||
|
|
||||||
PROCESS(ping6_process, "PING6 process");
|
PROCESS(ping6_process, "PING6 process");
|
||||||
|
Reference in New Issue
Block a user