bugfix bmecycler

This commit is contained in:
Verkehrsrot 2019-07-31 22:20:18 +02:00
parent 85aa9655c6
commit 31cd613555
2 changed files with 2 additions and 1 deletions

View File

@ -109,6 +109,8 @@ int bme_init(void) {
finish: finish:
I2C_MUTEX_UNLOCK(); // release i2c bus access I2C_MUTEX_UNLOCK(); // release i2c bus access
if (rc)
bmecycler.attach(BMECYCLE, bmecycle);
return rc; return rc;
} // bme_init() } // bme_init()

View File

@ -410,7 +410,6 @@ void setup() {
// cyclic function interrupts // cyclic function interrupts
sendcycler.attach(SENDCYCLE * 2, sendcycle); sendcycler.attach(SENDCYCLE * 2, sendcycle);
housekeeper.attach(HOMECYCLE, housekeeping); housekeeper.attach(HOMECYCLE, housekeeping);
bmecycler.attach(BMECYCLE, bmecycle);
#if (TIME_SYNC_INTERVAL) #if (TIME_SYNC_INTERVAL)