fix xbee_user after rework (e39c5d5)
[protos/xbee-avr.git] / xbee_user.h
index e2bc926..bba7885 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,