Revision 324
Commented analog.c and analog.h.
Brian forgot to update bom.c and rangefinder.c to use analog_get8 and
analog8 respecitively when he swapped the function names in analog.c.
This has been fixed. Code not tested or compiled but should be ok.
rangefinder.c | ||
---|---|---|
134 | 134 |
**/ |
135 | 135 |
int range_read_distance (int range_id) |
136 | 136 |
{ |
137 |
return linearize_distance(analog_get8(range_id));
|
|
137 |
return linearize_distance(analog8(range_id)); |
|
138 | 138 |
} |
139 | 139 |
|
140 | 140 |
/** @} **/ //end defgroup |
Also available in: Unified diff