We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48d6b5d commit 96ea95cCopy full SHA for 96ea95c
Core/Inc/aht20.h
@@ -31,6 +31,9 @@ typedef struct {
31
float temperature_f;
32
} aht20_data_t;
33
34
+/*
35
+ * making api public
36
+ */
37
extern const aht20_sensor_api_t aht20_api;
38
39
/*
Core/Src/aht20.c
@@ -73,6 +73,9 @@ static uint8_t ACK_CMD = 0x06;
73
*/
74
static uint8_t NACK_CMD = 0x15;
75
76
77
+ * aht20 api
78
79
const aht20_sensor_api_t aht20_api = {
80
.aht20_validate_calibration = aht20_validate_calibration,
81
.measure = aht20_measure,
0 commit comments