forked from Archive/PX4-Autopilot
i2c_spi_buses.h: work around astyle version inconsistency
This commit is contained in:
parent
03bafd5581
commit
22cdf80293
|
@ -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:
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue