From 2f44ed860da1c8bedaba538ad71aa5b5db210e07 Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Tue, 20 Jan 2026 23:16:35 -0600 Subject: [PATCH] Malibu Buttons --- selfdrive/car/gm/gmcan.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/selfdrive/car/gm/gmcan.py b/selfdrive/car/gm/gmcan.py index 4ff85b460..58d9275b2 100644 --- a/selfdrive/car/gm/gmcan.py +++ b/selfdrive/car/gm/gmcan.py @@ -27,9 +27,8 @@ def create_buttons(packer, bus, idx, button): def create_buttons_malibu_cancel(bus, phase): # Malibu Hybrid CC cancel frames use a 4-value pattern in the last 2 bytes. data = bytearray(7) - data[3] = 0x01 # ACCAlwaysOne + data[3] = 0x41 # ACCAlwaysOne data[4] = 0x00 - # Observed cancel payloads (bus 0/130): 00 00 00 01 00 60 AF / 65 9E / 6A 8D / 6F 7C cancel_bytes = (0x60, 0xAF, 0x65, 0x9E, 0x6A, 0x8D, 0x6F, 0x7C) idx = (phase % 4) * 2 data[5] = cancel_bytes[idx]