mirror of
https://github.com/esphome/esphome.git
synced 2025-11-19 08:15:49 +00:00
[i2c] Make `get_port()` public (#9146)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user