Allow send to i2c address 0 (broadcast)

This commit is contained in:
Scott Lahteine 2016-11-08 16:34:45 -06:00
parent 75bfde9945
commit 68b46fb2c9

View File

@ -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