diff options
Diffstat (limited to 'src/drivers/Hrs3300.h')
-rw-r--r-- | src/drivers/Hrs3300.h | 5 |
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); - }; } } |