Revision 1608
wl updates: compile issues
wireless.c | ||
---|---|---|
67 | 67 |
memset(wl_packet_handlers, sizeof(PacketGroupHandler)*MAX_PACKET_GROUPS, 0); |
68 | 68 |
|
69 | 69 |
// initialize xbee |
70 |
if(xbee_lib_init() == -1) {
|
|
70 |
if(xbee_init() == -1) { |
|
71 | 71 |
return WL_ERROR_INIT_FAILED; |
72 | 72 |
} |
73 | 73 |
|
... | ... | |
94 | 94 |
memset(wl_packet_handlers, sizeof(PacketGroupHandler)*MAX_PACKET_GROUPS, 0); |
95 | 95 |
|
96 | 96 |
if(xbee_terminate() != WL_SUCCESS) { |
97 |
return WL_ERROR_TERMINATION_FAILED |
|
97 |
return WL_ERROR_TERMINATION_FAILED;
|
|
98 | 98 |
} |
99 | 99 |
|
100 | 100 |
return WL_SUCCESS; |
Also available in: Unified diff