1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 19:32:19 +01:00

[i2c] Make `get_port()` public (#9146)

This commit is contained in:
Jesse Hills
2025-06-19 17:44:33 +12:00
committed by GitHub
parent 30bea20f7a
commit 2c17b2bacc

View File

@@ -109,6 +109,7 @@ class I2CBus {
};
class InternalI2CBus : public I2CBus {
public:
/// @brief Returns the I2C port number.
/// @return the port number of the internal I2C bus
virtual int get_port() const = 0;