mirror of
https://github.com/esphome/esphome.git
synced 2025-07-28 06:06:33 +00:00
[i2c] Make `get_port()
` public (#9146)
This commit is contained in:
parent
30bea20f7a
commit
2c17b2bacc
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user