Project

General

Profile

Revision 1614

Added by Chris Mar about 14 years ago

fixed handler array in wireless.c

View differences:

branches/wireless/code/projects/libwireless/wireless.c
44 44
 * @{
45 45
 **/
46 46

  
47
/* holds pointers to all normal-priority packet handlers
48
   group handler located at index of group number
49
   group numbers with handlers undefined are NULL
50
 */
51
void (*handlers[WL_NUM_PACKET_GROUPS])(void);
47
static uint8_t init_flag = INIT_NO;
48
static PacketGroupHandler wl_packet_handlers[MAX_PACKET_GROUPS];
52 49

  
53 50
/**
54 51
 * initialization function:

Also available in: Unified diff