X-Git-Url: http://git.droids-corp.org/?p=protos%2Fxbee-avr.git;a=blobdiff_plain;f=commands.c;h=c9619ac2da48e3fdc284d0416dbf1f5a9d17be6c;hp=eff413db23e75f155eafadd024de5730259626c2;hb=d590ebe19bfe60a544717606a0ff2b348cc32229;hpb=4989a2c76e8fa25667663a215709f9366747fcad diff --git a/commands.c b/commands.c index eff413d..c9619ac 100644 --- a/commands.c +++ b/commands.c @@ -35,12 +35,7 @@ #include #include #include - -#include "xbee_atcmd.h" -#include "xbee_neighbor.h" -#include "xbee_stats.h" -#include "xbee_proto.h" -#include "xbee.h" +#include #include "callout.h" #include "parse_atcmd.h" @@ -71,7 +66,7 @@ struct monitor_reg *monitor_current; static int range_period_ms = 1000; static int range_powermask = 0x1F; -static uint8_t range_power = 0; +//static uint8_t range_power = 0; static int range_running = 0; static uint64_t range_dstaddr = 0xFFFF; /* broadcast by default */ static struct callout range_event; @@ -97,6 +92,10 @@ static void monitor_cb(struct callout_manager *cm, static void range_cb(struct callout_manager *cm, struct callout *clt, void *dummy) { + (void)cm; + (void)clt; + (void)dummy; +#if 0 uint8_t i, mask; struct rc_proto_range rangepkt; @@ -128,6 +127,7 @@ static void range_cb(struct callout_manager *cm, callout_reset(cm, &range_event, range_period_ms, SINGLE, range_cb, NULL); +#endif } /* this structure is filled when cmd_help is parsed successfully */