bugfix bmecycler
This commit is contained in:
		
							parent
							
								
									85aa9655c6
								
							
						
					
					
						commit
						31cd613555
					
				| @ -109,6 +109,8 @@ int bme_init(void) { | ||||
| 
 | ||||
| finish: | ||||
|   I2C_MUTEX_UNLOCK(); // release i2c bus access
 | ||||
|   if (rc) | ||||
|     bmecycler.attach(BMECYCLE, bmecycle); | ||||
|   return rc; | ||||
| 
 | ||||
| } // bme_init()
 | ||||
|  | ||||
| @ -410,7 +410,6 @@ void setup() { | ||||
|   // cyclic function interrupts
 | ||||
|   sendcycler.attach(SENDCYCLE * 2, sendcycle); | ||||
|   housekeeper.attach(HOMECYCLE, housekeeping); | ||||
|   bmecycler.attach(BMECYCLE, bmecycle); | ||||
| 
 | ||||
| #if (TIME_SYNC_INTERVAL) | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user