git.droids-corp.org
/
protos
/
xbee-avr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rc_proto: allow to disable computation of best power level
[protos/xbee-avr.git]
/
rc_proto.h
diff --git
a/rc_proto.h
b/rc_proto.h
index
3df4aaf
..
baf90f4
100644
(file)
--- a/
rc_proto.h
+++ b/
rc_proto.h
@@
-138,6
+138,9
@@
void rc_proto_dump_servos(void);
/* if set, send power probe periodically to the peer (500 ms) */
#define RC_PROTO_FLAGS_TX_POW_PROBE 0x20
/* if set, send power probe periodically to the peer (500 ms) */
#define RC_PROTO_FLAGS_TX_POW_PROBE 0x20
+/* if set, use received probes to compute best power level */
+#define RC_PROTO_FLAGS_COMPUTE_BEST_POW 0x40
+
void rc_proto_set_mode(uint8_t flags);
uint8_t rc_proto_get_mode(void);
void rc_proto_set_mode(uint8_t flags);
uint8_t rc_proto_get_mode(void);