Procházet zdrojové kódy

Allow send to i2c address 0 (broadcast)

Scott Lahteine před 7 roky
rodič
revize
68b46fb2c9
1 změnil soubory, kde provedl 0 přidání a 2 odebrání
  1. 0
    2
      Marlin/twibus.cpp

+ 0
- 2
Marlin/twibus.cpp Zobrazit soubor

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

Loading…
Zrušit
Uložit