Revision 1784 demos/smart_run_around_fsm/lib/src/libdragonfly/rangefinder.c

View differences:

rangefinder.c
128 128
 * @see range_init
129 129
 **/
130 130
int range_read_distance(int range_id) {
131
  return linearize_distance(analog8(range_id));
131
  return linearize_distance(analog_get8(range_id));
132 132
}
133 133

  
134 134
/**

Also available in: Unified diff