Cleanup i2c scan logs and macro to save some bytes and remain consistent (#5455)

* Cleanup i2c scan logs and macro to save some bytes and remain consistent

* Functions are better than macros

* Exclude i2c scan for STM32

* Useless log
This commit is contained in:
Ben Meadors
2024-11-26 13:59:50 -06:00
committed by GitHub
parent 09286a3beb
commit fe86c40145
4 changed files with 121 additions and 110 deletions

View File

@@ -58,5 +58,7 @@ class ScanI2CTwoWire : public ScanI2C
uint16_t getRegisterValue(const RegisterLocation &, ResponseWidth) const;
DeviceType probeOLED(ScanI2C::DeviceAddress) const;
static void logFoundDevice(const char *device, uint8_t address);
};
#endif