aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/Hrs3300.h
diff options
context:
space:
mode:
authorAvamander <avamander@gmail.com>2021-04-18 20:28:14 +0300
committerAvamander <avamander@gmail.com>2021-04-24 11:39:53 +0300
commit40d45d923b033363ff1304b47eac238dd4495a57 (patch)
tree9e7b668fdf23a7be892b8e2bf8b4d62b884cee06 /src/drivers/Hrs3300.h
parente56ebb8bd621cc8838e86fa032d680a6e7a35ffc (diff)
Reformatted all the files according to clang-format style
Diffstat (limited to 'src/drivers/Hrs3300.h')
-rw-r--r--src/drivers/Hrs3300.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/drivers/Hrs3300.h b/src/drivers/Hrs3300.h
index c34d55c6..cf87f378 100644
--- a/src/drivers/Hrs3300.h
+++ b/src/drivers/Hrs3300.h
@@ -5,7 +5,7 @@
namespace Pinetime {
namespace Drivers {
class Hrs3300 {
- public:
+ public:
enum class Registers : uint8_t {
Id = 0x00,
Enable = 0x01,
@@ -35,13 +35,12 @@ namespace Pinetime {
void SetGain(uint8_t gain);
void SetDrive(uint8_t drive);
- private:
+ private:
TwiMaster& twiMaster;
uint8_t twiAddress;
void WriteRegister(uint8_t reg, uint8_t data);
uint8_t ReadRegister(uint8_t reg);
-
};
}
}