summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeonghoon Park <jh1979.park@samsung.com>2019-07-03 19:48:32 +0900
committerJeonghoon Park <jh1979.park@samsung.com>2019-07-03 19:48:32 +0900
commitc9bb8dfec48c93447b85598ac83767264f2dff32 (patch)
tree3c8e0f3de8a1ddf9d925f90a5e30bc84723d1939
parentdcb8b243ae5fdba486992f4809a70d99454708f7 (diff)
downloadsmart-ruler-c9bb8dfec48c93447b85598ac83767264f2dff32.tar.gz
smart-ruler-c9bb8dfec48c93447b85598ac83767264f2dff32.tar.bz2
smart-ruler-c9bb8dfec48c93447b85598ac83767264f2dff32.zip
fix typos
Change-Id: I0abf660e932bac90705af9deccbbeb07eb29c218
-rw-r--r--src/resource/resource_lidar_v3.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resource/resource_lidar_v3.c b/src/resource/resource_lidar_v3.c
index 6906f30..b1bd48f 100644
--- a/src/resource/resource_lidar_v3.c
+++ b/src/resource/resource_lidar_v3.c
@@ -30,8 +30,8 @@
#define LLV3_SIG_CNT_VAL (0x02)
#define LLV3_ACQ_CONFIG (0x04)
#define LLV3_DISTANCE (0x8f)
-#define LLv3_DISTANCE_HIGH (0x0f)
-#define LLv3_DISTANCE_LOW (0x10)
+#define LLV3_DISTANCE_HIGH (0x0f)
+#define LLV3_DISTANCE_LOW (0x10)
#define LLV3_REF_CNT_VAL (0x12)
#define LLV3_THRESH_BYPASS (0x1c)
@@ -168,10 +168,10 @@ int resource_read_lidar_v3(unsigned int *out_value)
ret = __wait_busy_flag();
retv_if(ret, -1);
- ret = peripheral_i2c_read_register_byte(g_sensor_h, LLv3_DISTANCE_HIGH, &val_h);
+ ret = peripheral_i2c_read_register_byte(g_sensor_h, LLV3_DISTANCE_HIGH, &val_h);
retv_if(ret, -1);
- ret = peripheral_i2c_read_register_byte(g_sensor_h, LLv3_DISTANCE_LOW, &val_l);
+ ret = peripheral_i2c_read_register_byte(g_sensor_h, LLV3_DISTANCE_LOW, &val_l);
retv_if(ret, -1);
*out_value = ((val_h << 8) | val_l);