c++ cleanup: standardize file extensions to .cc and .h (#20800)
* c++ cleanup: standardize file extensions to .cc and .h * cleanup files_commonpull/20804/head
parent
4bb3619a0e
commit
81491dc57f
87 changed files with 132 additions and 132 deletions
@ -1,6 +1,6 @@ |
||||
#pragma once |
||||
|
||||
#include "sensors/i2c_sensor.hpp" |
||||
#include "sensors/i2c_sensor.h" |
||||
|
||||
// Address of the chip on the bus
|
||||
#define BMX055_ACCEL_I2C_ADDR 0x18 |
@ -1,6 +1,6 @@ |
||||
#pragma once |
||||
|
||||
#include "sensors/i2c_sensor.hpp" |
||||
#include "sensors/i2c_sensor.h" |
||||
|
||||
// Address of the chip on the bus
|
||||
#define BMX055_GYRO_I2C_ADDR 0x68 |
@ -1,7 +1,7 @@ |
||||
#pragma once |
||||
#include <tuple> |
||||
|
||||
#include "sensors/i2c_sensor.hpp" |
||||
#include "sensors/i2c_sensor.h" |
||||
|
||||
// Address of the chip on the bus
|
||||
#define BMX055_MAGN_I2C_ADDR 0x10 |
@ -1,7 +1,7 @@ |
||||
#pragma once |
||||
|
||||
#include "sensors/i2c_sensor.hpp" |
||||
#include "sensors/bmx055_accel.hpp" |
||||
#include "sensors/i2c_sensor.h" |
||||
#include "sensors/bmx055_accel.h" |
||||
|
||||
|
||||
class BMX055_Temp : public I2CSensor { |
@ -1,5 +1,5 @@ |
||||
#pragma once |
||||
#include "file_sensor.hpp" |
||||
#include "file_sensor.h" |
||||
|
||||
class LightSensor : public FileSensor { |
||||
public: |
@ -1,6 +1,6 @@ |
||||
#pragma once |
||||
|
||||
#include "sensors/i2c_sensor.hpp" |
||||
#include "sensors/i2c_sensor.h" |
||||
|
||||
// Address of the chip on the bus
|
||||
#define LSM6DS3_ACCEL_I2C_ADDR 0x6A |
@ -1,6 +1,6 @@ |
||||
#pragma once |
||||
|
||||
#include "sensors/i2c_sensor.hpp" |
||||
#include "sensors/i2c_sensor.h" |
||||
|
||||
// Address of the chip on the bus
|
||||
#define LSM6DS3_GYRO_I2C_ADDR 0x6A |
@ -1,6 +1,6 @@ |
||||
#pragma once |
||||
|
||||
#include "sensors/i2c_sensor.hpp" |
||||
#include "sensors/i2c_sensor.h" |
||||
|
||||
// Address of the chip on the bus
|
||||
#define LSM6DS3_TEMP_I2C_ADDR 0x6A |
@ -1,6 +1,6 @@ |
||||
#pragma once |
||||
|
||||
#include "ui.hpp" |
||||
#include "ui.h" |
||||
|
||||
void ui_draw(UIState *s, int w, int h); |
||||
void ui_draw_image(const UIState *s, const Rect &r, const char *name, float alpha); |
@ -1,5 +1,5 @@ |
||||
#include "api.hpp" |
||||
#include "ui.hpp" |
||||
#include "api.h" |
||||
#include "ui.h" |
||||
|
||||
class RequestRepeater : public HttpRequest { |
||||
public: |
@ -1,4 +1,4 @@ |
||||
#include "FileReader.hpp" |
||||
#include "FileReader.h" |
||||
#include "FrameReader.hpp" |
||||
|
||||
#include <QtNetwork> |
Loading…
Reference in new issue