Shawn McCarney | b1216b9 | 2020-01-21 15:22:32 -0600 | [diff] [blame] | 1 | #include "mocked_i2c_interface.hpp" |
2 | |||||
3 | #include <memory> | ||||
4 | |||||
5 | namespace i2c | ||||
6 | { | ||||
7 | |||||
8 | std::unique_ptr<I2CInterface> | ||||
9 | create(uint8_t /*busId*/, uint8_t /*devAddr*/, | ||||
Shawn McCarney | 770de58 | 2021-11-05 02:28:35 -0500 | [diff] [blame] | 10 | I2CInterface::InitialState /*initialState*/, int /*maxRetries*/) |
Shawn McCarney | b1216b9 | 2020-01-21 15:22:32 -0600 | [diff] [blame] | 11 | { |
12 | return std::make_unique<MockedI2CInterface>(); | ||||
13 | } | ||||
14 | |||||
15 | } // namespace i2c |