1 #include "mocked_i2c_interface.hpp" 2 3 #include <memory> 4 5 namespace i2c 6 { 7 8 std::unique_ptr<I2CInterface> create(uint8_t,uint8_t,I2CInterface::InitialState,int)9 create(uint8_t /*busId*/, uint8_t /*devAddr*/, 10 I2CInterface::InitialState /*initialState*/, int /*maxRetries*/) 11 { 12 return std::make_unique<MockedI2CInterface>(); 13 } 14 15 } // namespace i2c 16