Browse Source

🐛 Fix TWIBus Wire.begin call (#23183)

vanilla_fb_2.0.x
Stuart Pittaway 3 years ago
committed by Scott Lahteine
parent
commit
7123b15801
  1. 3
      Marlin/src/feature/twibus.cpp

3
Marlin/src/feature/twibus.cpp

@ -56,9 +56,8 @@ void TWIBus::reset() {
}
void TWIBus::address(const uint8_t adr) {
if (!WITHIN(adr, 8, 127)) {
if (!WITHIN(adr, 8, 127))
SERIAL_ECHO_MSG("Bad I2C address (8-127)");
}
addr = adr;

Loading…
Cancel
Save