aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/Bma421.h
diff options
context:
space:
mode:
authorFinlay Davidson <finlay.davidson@coderclass.nl>2023-01-07 21:23:15 +0100
committerJF <JF002@users.noreply.github.com>2023-01-09 21:41:21 +0100
commit96165a8541b33baace920e26f062b2e282d644c6 (patch)
tree41a5c6ec1f9a9981fcf970b7b48095b54c142d64 /src/drivers/Bma421.h
parent09db67e003ab593956b4d4474fd08e7548985030 (diff)
Format header files
In my PR updating clang-format, I forgot to also format the headers.
Diffstat (limited to 'src/drivers/Bma421.h')
-rw-r--r--src/drivers/Bma421.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/Bma421.h b/src/drivers/Bma421.h
index ac5c707f..fb832514 100644
--- a/src/drivers/Bma421.h
+++ b/src/drivers/Bma421.h
@@ -4,15 +4,18 @@
namespace Pinetime {
namespace Drivers {
class TwiMaster;
+
class Bma421 {
public:
enum class DeviceTypes : uint8_t { Unknown, BMA421, BMA425 };
+
struct Values {
uint32_t steps;
int16_t x;
int16_t y;
int16_t z;
};
+
Bma421(TwiMaster& twiMaster, uint8_t twiAddress);
Bma421(const Bma421&) = delete;
Bma421& operator=(const Bma421&) = delete;