mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 01:13:38 +08:00
changed I2C init() to a public function. Removed init() from constructor of SMBus base class
This commit is contained in:
@@ -36,7 +36,6 @@
|
||||
SMBus::SMBus(int bus_num, uint16_t address) :
|
||||
I2C("BATT_SMBUS_I2C", nullptr, bus_num, address, 100000)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
SMBus::~SMBus()
|
||||
|
||||
Reference in New Issue
Block a user