Skip to content

Commit

Permalink
Fix fused altimeter time
Browse files Browse the repository at this point in the history
  • Loading branch information
kylecorry31 committed Nov 26, 2023
1 parent fb0502e commit b03f7f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class FusedAltimeter2(
"cache_fused_altimeter_last_sea_level_pressure_time"

// The amount of time before the sea level pressure expires if not updated using the GPS
private val SEA_LEVEL_EXPIRATION = Duration.ofMinutes(1)
private val SEA_LEVEL_EXPIRATION = Duration.ofHours(1)

// 2% GPS, 98% barometer
private const val ALPHA = 0.02f
Expand Down

0 comments on commit b03f7f5

Please sign in to comment.