diff --git a/src/lidar_lite.cpp b/src/lidar_lite.cpp
index 3fa7b3b4864f5c898594228f1e26ea03ecf5af41..d088e886897d31e74b44db884629d72155e8c355 100644
--- a/src/lidar_lite.cpp
+++ b/src/lidar_lite.cpp
@@ -138,7 +138,7 @@ CLidarLite::get_range(bool biasCorrection)
   }
 
   // Read two bytes from register 0x8f and save
-  int range = NAN;
+  int range = 0;
   range = read(FULL_DELAY_HIGH, 2);
 
   return range;