From eda96ffadc824742bf937c58f5295c86389a6d5e Mon Sep 17 00:00:00 2001 From: Finlay Davidson Date: Tue, 3 Jan 2023 14:05:30 +0000 Subject: Update clang-{format,tidy} to 14 Also add configuration options only available in 13 and 14. Fixes warning about -fstack-usage in clang-tidy check. --- src/drivers/Bma421.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/drivers/Bma421.cpp') diff --git a/src/drivers/Bma421.cpp b/src/drivers/Bma421.cpp index 539cc8d1..07a94329 100644 --- a/src/drivers/Bma421.cpp +++ b/src/drivers/Bma421.cpp @@ -118,6 +118,7 @@ Bma421::Values Bma421::Process() { // X and Y axis are swapped because of the way the sensor is mounted in the PineTime return {steps, data.y, data.x, data.z}; } + bool Bma421::IsOk() const { return isOk; } @@ -133,6 +134,7 @@ void Bma421::SoftReset() { nrf_delay_ms(1); } } + Bma421::DeviceTypes Bma421::DeviceType() const { return deviceType; } -- cgit v1.2.3