A single SERIAL_ECHO macro type (#12557)
This commit is contained in:
@@ -44,8 +44,7 @@ void TWIBus::reset() {
|
||||
|
||||
void TWIBus::address(const uint8_t adr) {
|
||||
if (!WITHIN(adr, 8, 127)) {
|
||||
SERIAL_ECHO_START();
|
||||
SERIAL_ECHOLNPGM("Bad I2C address (8-127)");
|
||||
SERIAL_ECHO_MSG("Bad I2C address (8-127)");
|
||||
}
|
||||
|
||||
this->addr = adr;
|
||||
|
||||
Reference in New Issue
Block a user