Allow send to i2c address 0 (broadcast)

2.0.x
Scott Lahteine 8 years ago
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…
Cancel
Save