Skip to content

Commit 041a0dd

Browse files
authored
Merge branch 'master' into fix-pyportal-mqtt-sensor-node
2 parents 3255256 + 65320ca commit 041a0dd

20 files changed

+34901
-1
lines changed
Binary file not shown.
Binary file not shown.
218 KB
Loading

Astrophotography_Tracker/mount_plate.dxf

Lines changed: 5242 additions & 0 deletions
Large diffs are not rendered by default.
27.5 KB
Loading

CLUE_Altimeter/clue_altimeter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
clue._pressure.standby_period = 0x01 # 62.5 ms
3131

3232
# restore saved sea level pressure from NVM
33-
clue.sea_level_pressure = struct.unpack("f", nvm[0:4])[0]
33+
slp = struct.unpack("f", nvm[0:4])[0]
34+
clue.sea_level_pressure = slp if 0 < slp < 2000 else STD_SLP
3435

3536
# --------------------------------------------------------------------
3637
# D I S P L A Y S E T U P

0 commit comments

Comments
 (0)