@@ -43,19 +43,19 @@ SpiBusDevice BusDeviceCreator::create(arduino::SPIClass & spi, SPISettings const
43
43
return SpiBusDevice (SpiBusDeviceConfig{spi, spi_settings, cs_pin, fill_symbol});
44
44
}
45
45
46
- WireBusDevice BusDeviceCreator::create (arduino::HardwareI2C & wire, byte const slave_addr, bool const restart, bool const stop )
46
+ WireBusDevice BusDeviceCreator::create (arduino::HardwareI2C & wire, byte const slave_addr)
47
47
{
48
- return WireBusDevice (WireBusDeviceConfig{ wire, slave_addr, restart, stop} );
48
+ return create ( wire, slave_addr, true , true );
49
49
}
50
50
51
51
WireBusDevice BusDeviceCreator::create (arduino::HardwareI2C & wire, byte const slave_addr, bool const restart)
52
52
{
53
53
return create (wire, slave_addr, restart, true );
54
54
}
55
55
56
- WireBusDevice BusDeviceCreator::create (arduino::HardwareI2C & wire, byte const slave_addr)
56
+ WireBusDevice BusDeviceCreator::create (arduino::HardwareI2C & wire, byte const slave_addr, bool const restart, bool const stop )
57
57
{
58
- return create ( wire, slave_addr, true , true );
58
+ return WireBusDevice (WireBusDeviceConfig{ wire, slave_addr, restart, stop} );
59
59
}
60
60
61
61
/* *************************************************************************************
0 commit comments