diff --git a/Makefile b/Makefile index 973a788..d323468 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PYSQUARED_VERSION ?= v2.0.0-alpha-25w26-2 +PYSQUARED_VERSION ?= v2.0.0-alpha-25w29 PYSQUARED ?= git+https://github.com/proveskit/pysquared@$(PYSQUARED_VERSION) BOARD_MOUNT_POINT ?= "" BOARD_TTY_PORT ?= "" diff --git a/config.json b/config.json index 7c1a5e9..5893978 100644 --- a/config.json +++ b/config.json @@ -1,9 +1,9 @@ { - "battery_voltage": 5.2, "critical_battery_voltage": 6.6, "cubesat_name": "PROVES-MY_SATELLITE_NAME", "current_draw": 240.5, "debug": true, + "degraded_battery_voltage": 5.4, "detumble_enable_x": true, "detumble_enable_y": true, "detumble_enable_z": true, diff --git a/src/flight-software/lib/proveskit_rp2040_v4/register.py b/src/flight-software/lib/proveskit_rp2040_v4/register.py index ce5d29e..28801a7 100644 --- a/src/flight-software/lib/proveskit_rp2040_v4/register.py +++ b/src/flight-software/lib/proveskit_rp2040_v4/register.py @@ -1,3 +1,4 @@ class Register: boot_count = 0 error_count = 1 + message_count = 2 diff --git a/src/flight-software/main.py b/src/flight-software/main.py index 547ef06..b0bbdbf 100644 --- a/src/flight-software/main.py +++ b/src/flight-software/main.py @@ -89,6 +89,7 @@ logger, radio, config.radio.license, + Counter(Register.message_count), 0.2, ) diff --git a/src/flight-software/repl.py b/src/flight-software/repl.py index 7c6a522..4c1275a 100644 --- a/src/flight-software/repl.py +++ b/src/flight-software/repl.py @@ -75,6 +75,7 @@ logger, radio, config.radio.license, + Counter(Register.message_count), 0.2, ) diff --git a/src/ground-station/repl.py b/src/ground-station/repl.py index f34c821..061a7dd 100644 --- a/src/ground-station/repl.py +++ b/src/ground-station/repl.py @@ -41,6 +41,7 @@ logger, radio, config.radio.license, + Counter(2), 0.2, )