Skip to content

Commit 32d677b

Browse files
authored
Merge pull request #4 from git-user-cpp/development
cosmetic changes
2 parents 28fb3bb + 93c9d2d commit 32d677b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Core/Inc/AHT20.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,16 @@ typedef enum {
3131
AHT20_STATUS_NOT_MEASURED,
3232
} aht20_status_t;
3333

34+
/*
35+
* struct for holding measurment data
36+
*/
3437
typedef struct {
3538
uint8_t measured_data[7];
3639
float humidity;
3740
float temperature_c;
3841
float temperature_f;
3942
} aht20_data_t;
43+
4044
/*
4145
* sends reads status_word for further calibration verification
4246
*

Core/Src/AHT20.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,5 +210,3 @@ static uint8_t calculate_crc(uint8_t *data) {
210210

211211
return crc;
212212
}
213-
214-

0 commit comments

Comments
 (0)