Revision 1460
put lcd and rangefinder lookup tables into program space
removed TODO inline comments from wireless library
wl_error_group.c | ||
---|---|---|
61 | 61 |
* This function must be called before any other wl_error |
62 | 62 |
* function. |
63 | 63 |
**/ |
64 |
//TODO: this function is so simple, it *may* be beneficial to inline this function. testing of if |
|
65 |
// it reduces code size or not should be done to be sure. |
|
66 | 64 |
void wl_error_register(void) |
67 | 65 |
{ |
68 | 66 |
wl_register_packet_group(&wl_error_handler); |
... | ... | |
74 | 72 |
* |
75 | 73 |
* @see wl_error_register |
76 | 74 |
**/ |
77 |
//TODO: this function is so simple, it *may* be beneficial to inline this function. testing of if |
|
78 |
// it reduces code size or not should be done to be sure. |
|
79 | 75 |
void wl_error_unregister(void) |
80 | 76 |
{ |
81 | 77 |
wl_unregister_packet_group(&wl_error_handler); |
... | ... | |
118 | 114 |
* |
119 | 115 |
* @param str the error message to send |
120 | 116 |
**/ |
121 |
//TODO: this function is so simple, it *may* be beneficial to inline this function. testing of if |
|
122 |
// it reduces code size or not should be done to be sure. |
|
123 | 117 |
void wl_error_send_string(char* str) |
124 | 118 |
{ |
125 | 119 |
wl_send_global_packet(WL_ERROR_GROUP, WL_ERROR_STRING_TYPE, |
Also available in: Unified diff