Skip to content

Commit

Permalink
VL53L0x: Fix build issues and sanitize includes (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
ataffanel committed Oct 4, 2017
1 parent e23e415 commit 045d594
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/drivers/interface/vl53l0x.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@
#ifndef _VL53L0X_H_
#define _VL53L0X_H_

#include "stabilizer_types.h"
#include "deck_core.h"

#include "i2cdev.h"

#define VL53L0X_DEFAULT_ADDRESS 0b0101001

Expand Down Expand Up @@ -162,8 +160,6 @@ typedef struct
*/
bool vl53l0xInit(VL53L0xDev* dev, I2C_Dev *I2Cx, bool io_2V8);

bool vl53l0xReadRange(VL53L0xDev* dev, zDistance_t* zrange, const uint32_t tick);

/** Verify the I2C connection.
* Make sure the device is connected and responds as expected.
* @return True if connection is valid, false otherwise
Expand Down

0 comments on commit 045d594

Please sign in to comment.