]> git.droids-corp.org - protos/xbee-avr.git/blobdiff - xbee_user.h
fix xbee_user after rework (e39c5d5)
[protos/xbee-avr.git] / xbee_user.h
index e2bc926ae400d7da742796ea11652f0192804b82..bba788590d9a645a1c724568b4c85ed3af8d2a6f 100644 (file)
@@ -63,7 +63,8 @@ struct xbeeapp_pkt {
 
 /* Write in a human readable format the content of an atcmd response frame. It
  * assumes the frame is valid .*/
-void atresp_to_str(char *buf, unsigned len, const struct xbee_atresp_hdr *frame);
+void atresp_to_str(char *buf, unsigned buflen, const struct xbee_atresp_hdr *frame,
+       unsigned len);
 
 /* callback registered to xbee module, called when a xbee frame is received */
 int8_t xbeeapp_rx(struct xbee_dev *dev, int channel, int type,