Skip to content

Commit 40d3470

Browse files
authored
update pysquared (#4)
1 parent f4eacff commit 40d3470

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PYSQUARED_VERSION ?= v2.0.0-alpha-25w26-2
1+
PYSQUARED_VERSION ?= v2.0.0-alpha-25w29
22
PYSQUARED ?= git+https://github.com/proveskit/pysquared@$(PYSQUARED_VERSION)
33
BOARD_MOUNT_POINT ?= ""
44
BOARD_TTY_PORT ?= ""
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
class Register:
22
boot_count = 0
33
error_count = 1
4+
message_count = 2

src/flight-software/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@
109109
logger,
110110
uhf_radio,
111111
config.radio.license,
112+
Counter(Register.message_count),
112113
0.2,
113114
)
114115

src/flight-software/repl.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515

1616
import os
1717

18-
from lib.adafruit_drv2605 import DRV2605 ### This is Hacky V5a Devel Stuff###
18+
from lib.adafruit_drv2605 import DRV2605 # This is Hacky V5a Devel Stuff###
1919
from lib.adafruit_mcp230xx.mcp23017 import (
20-
MCP23017, ### This is Hacky V5a Devel Stuff###
20+
MCP23017, # This is Hacky V5a Devel Stuff###
2121
)
22-
from lib.adafruit_mcp9808 import MCP9808 ### This is Hacky V5a Devel Stuff###
23-
from lib.adafruit_tca9548a import TCA9548A ### This is Hacky V5a Devel Stuff###
24-
from lib.adafruit_veml7700 import VEML7700 ### This is Hacky V5a Devel Stuff###
22+
from lib.adafruit_mcp9808 import MCP9808 # This is Hacky V5a Devel Stuff###
23+
from lib.adafruit_tca9548a import TCA9548A # This is Hacky V5a Devel Stuff###
24+
from lib.adafruit_veml7700 import VEML7700 # This is Hacky V5a Devel Stuff###
2525

2626
# from lib.pysquared.Big_Data import AllFaces ### This is Hacky V5a Devel Stuff###
2727
from lib.pysquared.beacon import Beacon
@@ -117,6 +117,7 @@
117117
logger,
118118
uhf_radio,
119119
config.radio.license,
120+
Counter(2),
120121
0.2,
121122
)
122123

src/ground-station/repl.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
logger,
3737
radio,
3838
config.radio.license,
39+
Counter(2),
3940
0.2,
4041
)
4142

0 commit comments

Comments
 (0)