Skip to content

Commit 26496d7

Browse files
committed
terain increase timeout for reading to 300ms
1 parent ff6e12c commit 26496d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/terrain/terrain.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ int32_t terrainGetLastDistanceCm(void)
213213
terrainSystemStatus.isStarted = true;
214214
}
215215

216-
return terrainHeight.lastUpdate + 200 < millis() ? TERRAIN_STATUS_NO_DATA : terrainHeight.terrainAGL;
216+
return terrainHeight.lastUpdate + 300 < millis() ? TERRAIN_STATUS_NO_DATA : terrainHeight.terrainAGL;
217217
}
218218

219219
#endif

0 commit comments

Comments
 (0)