From 464b689a03bca06099fba316b4c6c66c619d5521 Mon Sep 17 00:00:00 2001 From: Yehoshua Pesach Wallach Date: Mon, 13 Dec 2021 12:47:52 +0200 Subject: changed ReadHrs and ReadAls to uint32, and did static_cast instead of hidden cast when using it --- src/drivers/Hrs3300.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/drivers/Hrs3300.h') 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); -- cgit v1.2.3