summaryrefslogtreecommitdiff
path: root/src/drivers/Hrs3300.h
diff options
context:
space:
mode:
authorYehoshua Pesach Wallach <yehoshuapw@gmail.com>2021-12-13 12:47:52 +0200
committerYehoshua Pesach Wallach <yehoshuapw@gmail.com>2021-12-13 12:47:52 +0200
commit464b689a03bca06099fba316b4c6c66c619d5521 (patch)
tree56ee0498a93b0dae1444726ddb9875ff64d01498 /src/drivers/Hrs3300.h
parent4cc95091ab07f0b90c078f087f3826e845443873 (diff)
changed ReadHrs and ReadAls to uint32, and did static_cast instead of hidden cast when using it
Diffstat (limited to 'src/drivers/Hrs3300.h')
-rw-r--r--src/drivers/Hrs3300.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/Hrs3300.h b/src/drivers/Hrs3300.h
index 01310c62..8bbdc69a 100644
--- a/src/drivers/Hrs3300.h
+++ b/src/drivers/Hrs3300.h
@@ -30,8 +30,8 @@ namespace Pinetime {
void Init();
void Enable();
void Disable();
- uint16_t ReadHrs();
- uint16_t ReadAls();
+ uint32_t ReadHrs();
+ uint32_t ReadAls();
void SetGain(uint8_t gain);
void SetDrive(uint8_t drive);