From 8258d18e878a8948ecbdd829d88deb07bfcb8573 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Thu, 20 Jul 2023 11:07:13 -0700 Subject: [PATCH] spi: bump version --- board/drivers/spi.h | 2 +- python/spi.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/drivers/spi.h b/board/drivers/spi.h index 5f171110..af9dd8a5 100644 --- a/board/drivers/spi.h +++ b/board/drivers/spi.h @@ -84,7 +84,7 @@ uint16_t spi_version_packet(uint8_t *out) { data_len += 1U; // SPI protocol version - out[data_pos + data_len] = 0x1; + out[data_pos + data_len] = 0x2; data_len += 1U; // data length diff --git a/python/spi.py b/python/spi.py index c6f3fd5b..abba7940 100644 --- a/python/spi.py +++ b/python/spi.py @@ -113,7 +113,7 @@ class PandaSpiHandle(BaseHandle): A class that mimics a libusb1 handle for panda SPI communications. """ - PROTOCOL_VERSION = 1 + PROTOCOL_VERSION = 2 def __init__(self) -> None: self.dev = SpiDevice()