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

This commit is contained in:
Jesse Hills
2025-06-19 05:44:33 +00:00
committed by GitHub
parent 30bea20f7a
commit 2c17b2bacc
+1
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;