1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-29 23:07:42 +00:00

🐛 Fix TWIBus Wire.begin call (#23183)

This commit is contained in:
Stuart Pittaway 2021-12-06 21:40:18 +00:00 committed by Scott Lahteine
parent 8a2f13d657
commit 7123b15801

View File

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