Bläddra i källkod

Allow send to i2c address 0 (broadcast)

Scott Lahteine 7 år sedan
förälder
incheckning
68b46fb2c9
1 ändrade filer med 0 tillägg och 2 borttagningar
  1. 0
    2
      Marlin/twibus.cpp

+ 0
- 2
Marlin/twibus.cpp Visa fil

@@ -77,8 +77,6 @@ void TWIBus::addstring(char str[]) {
77 77
 }
78 78
 
79 79
 void TWIBus::send() {
80
-  if (!this->addr) return;
81
-
82 80
   #if ENABLED(DEBUG_TWIBUS)
83 81
     debug(PSTR("send"), this->addr);
84 82
   #endif

Laddar…
Avbryt
Spara