Skip to content

Commit

Permalink
ZRanger: Fix zrangerGetRange function name in sensors_bosch (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
ataffanel committed Oct 4, 2017
1 parent 045d594 commit be53c5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hal/interface/sensors_bosch.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include "sensors.h"
#include "imu.h"

#include "vl53l0x.h"
#include "zranger.h"

#include "FreeRTOS.h"
#include "semphr.h"
Expand Down
2 changes: 1 addition & 1 deletion src/hal/src/sensors_bosch.c
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ void sensorsAcquire(sensorData_t *sensors, const uint32_t tick)
sensorsReadAcc(&sensors->acc);
sensorsReadMag(&sensors->mag);
sensorsReadBaro(&sensors->baro);
vl53l0xReadRange(&sensors->zrange, tick);
zRangerReadRange(&sensors->zrange, tick);
#ifdef LOG_SEC_IMU
sensorsReadGyroSec(&sensors->gyroSec);
sensorsReadAccSec(&sensors->accSec);
Expand Down

0 comments on commit be53c5a

Please sign in to comment.