Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
siv237 committed Oct 21, 2022
1 parent 39c0508 commit 397efcc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/dev/ads1115/setup.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#if c_ADS1115 == 1
while (xSemaphoreTake(xSemaphoreX, (TickType_t)1) == pdFALSE)
;
while (xSemaphoreTake(xSemaphoreX, (TickType_t)1) == pdFALSE);

adc.reset();
delay(100);
Expand Down
2 changes: 1 addition & 1 deletion src/dev/aht10/setup.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#if c_AHT10 == 1
while (xSemaphoreTake(xSemaphoreX, (TickType_t)1) == pdFALSE)
while (xSemaphoreTake(xSemaphoreX, (TickType_t)1) == pdFALSE);

myAHT10.softReset();
delay(50);
Expand Down
2 changes: 1 addition & 1 deletion src/dev/am2320/setup.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#if c_AM2320 == 1
while (xSemaphoreTake(xSemaphoreX, (TickType_t)1) == pdFALSE)
while (xSemaphoreTake(xSemaphoreX, (TickType_t)1) == pdFALSE);

if (! AM2320.begin() )
{
Expand Down
2 changes: 1 addition & 1 deletion src/dev/ccs811/setup.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#if c_CCS811 == 1
// Enable CCS811
while (xSemaphoreTake(xSemaphoreX, (TickType_t)1) == pdFALSE)
while (xSemaphoreTake(xSemaphoreX, (TickType_t)1) == pdFALSE);

ccs811.set_i2cdelay(50);
bool ok= ccs811.begin();
Expand Down

0 comments on commit 397efcc

Please sign in to comment.