SHT3x driver - minor correction
- number of ticks for measurement duration takes now into account portTICK_PERIOD_MS
This commit is contained in:
parent
e8abd2db87
commit
994d667a8c
1 changed files with 0 additions and 2 deletions
|
|
@ -106,8 +106,6 @@ bool sht3x_init_driver()
|
|||
|
||||
sht3x_sensor_t* sht3x_init_sensor(uint8_t bus, uint8_t addr)
|
||||
{
|
||||
printf("%d %d %d\n", SHT3x_MEASURE_DURATION[0], SHT3x_MEASURE_DURATION[1], SHT3x_MEASURE_DURATION[2]);
|
||||
|
||||
sht3x_sensor_t* dev;
|
||||
|
||||
if ((dev = malloc (sizeof(sht3x_sensor_t))) == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue