mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 09:26:25 +08:00
i2c_spi_buses.h: work around astyle version inconsistency
This commit is contained in:
@@ -236,13 +236,15 @@ protected:
|
||||
|
||||
virtual ~I2CSPIDriver() = default;
|
||||
|
||||
void Run() final {
|
||||
// *INDENT-OFF* remove once there's astyle >3.1 in CI
|
||||
void Run() final
|
||||
{
|
||||
static_cast<T *>(this)->RunImpl();
|
||||
|
||||
if (should_exit())
|
||||
{
|
||||
if (should_exit()) {
|
||||
exit_and_cleanup();
|
||||
}
|
||||
}
|
||||
// *INDENT-ON*
|
||||
private:
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user