fix: boost改为固定26 + 删除死代码
- motor_update: boost从乘法改为固定值26 - 删除废弃的font_bitmap.h中文渲染代码(已改用PNG) - 移除无源码的lcd_test编译目标 - 设备speed=20
This commit is contained in:
+28
-28
@@ -1,28 +1,28 @@
|
||||
#ifndef VL53L0X_H
|
||||
#define VL53L0X_H
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
extern "C" {
|
||||
#include "vl53l0x_platform.h"
|
||||
}
|
||||
|
||||
class VL53L0X
|
||||
{
|
||||
public:
|
||||
VL53L0X();
|
||||
~VL53L0X();
|
||||
|
||||
bool init();
|
||||
bool startMeasure();
|
||||
bool readResult(VL53L0X_RangingMeasurementData_t &data);
|
||||
bool readRange(VL53L0X_RangingMeasurementData_t &data);
|
||||
bool stop();
|
||||
|
||||
private:
|
||||
int fd;
|
||||
bool initialized;
|
||||
vl53l0x_dev_t dev;
|
||||
};
|
||||
|
||||
#endif
|
||||
#ifndef VL53L0X_H
|
||||
#define VL53L0X_H
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
extern "C" {
|
||||
#include "vl53l0x_platform.h"
|
||||
}
|
||||
|
||||
class VL53L0X
|
||||
{
|
||||
public:
|
||||
VL53L0X();
|
||||
~VL53L0X();
|
||||
|
||||
bool init();
|
||||
bool startMeasure();
|
||||
bool readResult(VL53L0X_RangingMeasurementData_t &data);
|
||||
bool readRange(VL53L0X_RangingMeasurementData_t &data);
|
||||
bool stop();
|
||||
|
||||
private:
|
||||
int fd;
|
||||
bool initialized;
|
||||
vl53l0x_dev_t dev;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user