changed I2C init() to a public function. Removed init() from constructor of SMBus base class

This commit is contained in:
Jake Dahl
2018-10-16 09:45:28 +02:00
committed by Beat Küng
parent e0e411ea07
commit 985c5f4d73
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -36,7 +36,6 @@
SMBus::SMBus(int bus_num, uint16_t address) :
I2C("BATT_SMBUS_I2C", nullptr, bus_num, address, 100000)
{
init();
}
SMBus::~SMBus()