Revision 1612
Updated basic receive function and wrote handler dispatch function. The latter doesn't compile, but most of this directory doesn't.
wireless.c | ||
---|---|---|
44 | 44 |
* @{ |
45 | 45 |
**/ |
46 | 46 |
|
47 |
static uint8_t init_flag = INIT_NO; |
|
48 |
static PacketGroupHandler wl_packet_handlers[MAX_PACKET_GROUPS]; |
|
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); |
|
49 | 52 |
|
50 | 53 |
/** |
51 | 54 |
* initialization function: |
Also available in: Unified diff