mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-25 04:48:31 +00:00
🐛 Fix TWIBus Wire.begin call (#23183)
This commit is contained in:
parent
ecd1ac7092
commit
6580e655fb
@ -56,9 +56,8 @@ void TWIBus::reset() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void TWIBus::address(const uint8_t adr) {
|
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)");
|
SERIAL_ECHO_MSG("Bad I2C address (8-127)");
|
||||||
}
|
|
||||||
|
|
||||||
addr = adr;
|
addr = adr;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user