]> git.droids-corp.org - protos/xbee-avr.git/blobdiff - xbee_proto.h
add a command to read/write servo
[protos/xbee-avr.git] / xbee_proto.h
index 778ef0b307329a84e0a5573e0bfb5430dc0c87ae..760837947c521c88151bf02929d1b24bb59b6098 100644 (file)
@@ -25,6 +25,9 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifndef _XBEE_PROTO_H_
+#define _XBEE_PROTO_H_
+
 /* protocol headers */
 
 #define XBEE_DELIMITER 0x7E
@@ -150,3 +153,5 @@ int xbee_proto_xmit(struct xbee_dev *dev, uint8_t id, uint8_t type,
                    void *buf, unsigned len);
 
 void xbee_proto_rx(struct xbee_dev *dev);
+
+#endif /* _XBEE_PROTO_H_ */