Просмотр исходного кода

Allow send to i2c address 0 (broadcast)

Scott Lahteine 7 лет назад
Родитель
Сommit
68b46fb2c9
1 измененных файлов: 0 добавлений и 2 удалений
  1. 0
    2
      Marlin/twibus.cpp

+ 0
- 2
Marlin/twibus.cpp Просмотреть файл

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

Загрузка…
Отмена
Сохранить