]> git.droids-corp.org - protos/xbee.git/blobdiff - main.h
rc_proto: choose best power level for rc transmit
[protos/xbee.git] / main.h
diff --git a/main.h b/main.h
index 693a5c8081fb4a47710e3def260da293605025fe..88629df2811ff3ccf68487d7a39ca84dc7c9247d 100644 (file)
--- a/main.h
+++ b/main.h
@@ -32,6 +32,8 @@ enum xbee_ctx_type {
        DUMP_CONF,
 };
 
        DUMP_CONF,
 };
 
+#define MAX_POWER_LEVEL 5
+
 /* used for timeouts and xbee rx callback */
 struct xbee_ctx {
        enum xbee_ctx_type type;
 /* used for timeouts and xbee rx callback */
 struct xbee_ctx {
        enum xbee_ctx_type type;