Project

General

Profile

Revision 1801

wireless:fixed wl_dispatch buffer length passed to FNPTR

View differences:

branches/wireless/code/projects/libwireless/wireless_receive.c
223 223
      source = xbee_other_buf_get(&buf_pos); // get low byte of source id
224 224
      
225 225
      // call handler
226
      (*FUNC)(xbee_other_buf+buf_pos,data_length-4,source);
226
      (*FUNC)(xbee_other_buf+buf_pos,data_length-3,source);
227 227
      
228 228
      // go to next packet
229 229
      if (buf_pos + data_length - 4 >= PACKET_BUFFER_SIZE)

Also available in: Unified diff