Skip to content

Commit 74880d0

Browse files
authored
added hashlib and flight validation (#15)
* added hashlib and flight validation * correct import
1 parent 51a86f2 commit 74880d0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/flight-software/lib/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ adafruit-circuitpython-rfm==1.0.3
1010
adafruit-circuitpython-tca9548a @ git+https://github.com/proveskit/[email protected]
1111
adafruit-circuitpython-ticks==1.1.1
1212
adafruit-circuitpython-veml7700==2.0.2
13+
adafruit-circuitpython-hashlib==1.4.19
1314
Adafruit_CircuitPython_MCP230xx
1415
proves-circuitpython-rv3028 @ git+https://github.com/proveskit/[email protected]
1516
proves-circuitpython-sx1280 @ git+https://github.com/proveskit/[email protected]

src/flight-software/repl.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
from lib.pysquared.beacon import Beacon
1313
from lib.pysquared.cdh import CommandDataHandler
1414
from lib.pysquared.config.config import Config
15+
from lib.pysquared.file_validation.manager.file_validation import FileValidationManager
1516
from lib.pysquared.hardware.burnwire.manager.burnwire import BurnwireManager
1617
from lib.pysquared.hardware.busio import _spi_init, initialize_i2c_bus
1718
from lib.pysquared.hardware.digitalio import initialize_pin
@@ -203,6 +204,8 @@ def all_faces_on():
203204
load_switch_4.enable_load()
204205

205206

207+
file_validator = FileValidationManager(logger)
208+
206209
## Face Sensor Stuff ##
207210

208211
# This is the TCA9548A I2C Multiplexer

0 commit comments

Comments
 (0)