浏览代码

Allow send to i2c address 0 (broadcast)

Scott Lahteine 7 年前
父节点
当前提交
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

正在加载...
取消
保存