diff options
author | taemin.yeom <taemin.yeom@samsung.com> | 2021-06-10 16:19:10 +0900 |
---|---|---|
committer | taemin.yeom <taemin.yeom@samsung.com> | 2021-06-10 16:19:10 +0900 |
commit | 943cb7f303e420af76fcc10b6362501a2d7b1249 (patch) | |
tree | 819476a5723db5282bfdbbf32662cbfc344dd750 | |
parent | a2d6b86e198c38b10ae6438a1de9c515028833cf (diff) | |
download | sensor-tw3-943cb7f303e420af76fcc10b6362501a2d7b1249.tar.gz sensor-tw3-943cb7f303e420af76fcc10b6362501a2d7b1249.tar.bz2 sensor-tw3-943cb7f303e420af76fcc10b6362501a2d7b1249.zip |
Fix wrong range in HRM
Change-Id: I3dea915a9f03b722e0f1ffccdab6871c72d7501c
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
-rwxr-xr-x | src/hrm/hrm_device.cpp | 2 | ||||
-rwxr-xr-x | src/hrm_raw/hrm_raw_device.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/hrm/hrm_device.cpp b/src/hrm/hrm_device.cpp index eb7c068..31b6eee 100755 --- a/src/hrm/hrm_device.cpp +++ b/src/hrm/hrm_device.cpp @@ -28,7 +28,7 @@ #define MODEL_NAME "AD45251" #define VENDOR "ANALOG DEVICES" #define MIN_RANGE 0 -#define MAX_RANGE 1000 +#define MAX_RANGE 240 #define RESOLUTION 1 #define RAW_DATA_UNIT 1 #define MIN_INTERVAL 1 diff --git a/src/hrm_raw/hrm_raw_device.cpp b/src/hrm_raw/hrm_raw_device.cpp index c74c8d8..1fc1238 100755 --- a/src/hrm_raw/hrm_raw_device.cpp +++ b/src/hrm_raw/hrm_raw_device.cpp @@ -29,7 +29,7 @@ #define MODEL_NAME "AD45251" #define VENDOR "ANALOG DEVICES" #define MIN_RANGE 0 -#define MAX_RANGE 1000 +#define MAX_RANGE 4194304 #define RESOLUTION 1 #define RAW_DATA_UNIT 1 #define MIN_INTERVAL 1 |