|
|
|
@ -236,13 +236,15 @@ protected:
@@ -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: |
|
|
|
|
}; |
|
|
|
|