Merge branch 'comma-c19692245cfe681389a1e9ddb2401340cf08759d' into sync-20250604

This commit is contained in:
DevTekVE
2025-06-04 10:58:58 +02:00
3 changed files with 3 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ classifiers = [
]
dependencies = [
"libusb1",
"opendbc @ git+https://github.com/sunnypilot/opendbc.git@c9ca0d18ca75e0448806406136b0f39adf76bf97#egg=opendbc",
"opendbc @ git+https://github.com/sunnypilot/opendbc.git@80c0b4203af04ffdf008adf868162fd0b705ae2c#egg=opendbc",
]
[project.optional-dependencies]

View File

@@ -103,7 +103,7 @@ class SpiDevice:
with SPI_LOCK:
if speed not in SPI_DEVICES:
SPI_DEVICES[speed] = spidev.SpiDev() # pylint: disable=c-extension-no-member
SPI_DEVICES[speed] = spidev.SpiDev()
SPI_DEVICES[speed].open(0, 0)
SPI_DEVICES[speed].max_speed_hz = speed
self._spidev = SPI_DEVICES[speed]

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env python3
import matplotlib.pyplot as plt # pylint: disable=import-error
import matplotlib.pyplot as plt
HASHING_PRIME = 23
REGISTER_MAP_SIZE = 0x3FF