Skip to content

Commit

Permalink
SRF08 driver, new functionality + changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
zkasmi authored and OlegHahm committed Sep 26, 2013
1 parent 8e7b9cd commit 6d3a564
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions drivers/srf08/srf08-ultrasonic-sensor.c
Expand Up @@ -155,15 +155,6 @@ void srf08_start_ranging(void)
uint8_t i;
uint8_t echo_number;
puts("Ultrasonic SRF08 engine is started");
bool status = false;
uint8_t reg_size = 1;
uint8_t range_high_byte = 0;
uint8_t range_low_byte = 0;
uint32_t distance = 0;
uint8_t rx_buff[reg_size];
uint8_t tx_buff[reg_size];
tx_buff[0] = SRF08_REAL_RANGING_MODE_CM;
uint8_t register_location;

//wait due to calibration
hwtimer_wait(HWTIMER_TICKS(700000));
Expand Down

0 comments on commit 6d3a564

Please sign in to comment.