mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 01:13:33 +08:00
clang-tidy: partially fix modernize-use-equals-default
This commit is contained in:
@@ -50,10 +50,6 @@ SMBus::SMBus(int bus_num, uint16_t address) :
|
||||
{
|
||||
}
|
||||
|
||||
SMBus::~SMBus()
|
||||
{
|
||||
}
|
||||
|
||||
int SMBus::read_word(const uint8_t cmd_code, void *data)
|
||||
{
|
||||
// 2 data bytes + pec byte
|
||||
@@ -177,4 +173,4 @@ uint8_t SMBus::get_pec(uint8_t *buff, const uint8_t len)
|
||||
}
|
||||
|
||||
return crc;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user