Allow send to i2c address 0 (broadcast)
This commit is contained in:
		
							parent
							
								
									75bfde9945
								
							
						
					
					
						commit
						68b46fb2c9
					
				| @ -77,8 +77,6 @@ void TWIBus::addstring(char str[]) { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void TWIBus::send() { | void TWIBus::send() { | ||||||
|   if (!this->addr) return; |  | ||||||
| 
 |  | ||||||
|   #if ENABLED(DEBUG_TWIBUS) |   #if ENABLED(DEBUG_TWIBUS) | ||||||
|     debug(PSTR("send"), this->addr); |     debug(PSTR("send"), this->addr); | ||||||
|   #endif |   #endif | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user