update
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#define SCD30_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "driver/i2c_master.h"
|
||||
#include "driver/i2c.h"
|
||||
|
||||
// Data structure to hold SCD30 sensor data
|
||||
typedef struct {
|
||||
@@ -12,8 +12,7 @@ typedef struct {
|
||||
} scd30_data_t;
|
||||
|
||||
typedef struct {
|
||||
i2c_master_bus_handle_t bus_handle;
|
||||
i2c_master_dev_handle_t dev_handle;
|
||||
i2c_port_t i2c_port;
|
||||
} scd30_handle_t;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user