Skip to content

Commit f1178ff

Browse files
committed
updated for w40 stuff
1 parent f40d796 commit f1178ff

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
PYSQUARED_VERSION ?= v2.0.0-alpha-25w34
2-
PYSQUARED ?= git+https://github.com/proveskit/pysquared@$(PYSQUARED_VERSION)
1+
PYSQUARED_VERSION ?= v2.0.0-alpha-25w40
2+
PYSQUARED ?= git+https://github.com/proveskit/pysquared@$(PYSQUARED_VERSION)\#subdirectory=circuitpython-workspaces/flight-software
33
BOARD_MOUNT_POINT ?= ""
44
BOARD_TTY_PORT ?= ""
55
VERSION ?= $(shell git tag --points-at HEAD --sort=-creatordate < /dev/null | head -n 1)

src/flight-software/main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@
6060

6161
i2c1 = initialize_i2c_bus(
6262
logger,
63-
board.I2C1_SCL,
64-
board.I2C1_SDA,
63+
board.SCL1,
64+
board.SDA1,
6565
100000,
6666
)
6767

6868
i2c0 = initialize_i2c_bus(
6969
logger,
70-
board.I2C0_SCL,
71-
board.I2C0_SDA,
70+
board.SCL0,
71+
board.SDA0,
7272
100000,
7373
)
7474

0 commit comments

Comments
 (0)