From 5d3c0ecca00c1bb3f587acb8060476edcf8e24aa Mon Sep 17 00:00:00 2001 From: Sergey Shunko Date: Mon, 26 Oct 2026 22:04:54 +0200 Subject: [PATCH] Add missing IDX_DS_ADAPTIVE_TRIGGERS sentinel to packetTypesGen3..7 --- src/ControlStream.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ControlStream.c b/src/ControlStream.c index b5e79e6..859bd18 100644 --- a/src/ControlStream.c +++ b/src/ControlStream.c @@ -157,6 +157,7 @@ static const short packetTypesGen3[] = { -1, // Rumble triggers (unused) -1, // Set motion event (unused) -1, // Set RGB LED (unused) + -1, // Set Adaptive Triggers (unused) }; static const short packetTypesGen4[] = { 0x0606, // Request IDR frame @@ -171,6 +172,7 @@ static const short packetTypesGen4[] = { -1, // Rumble triggers (unused) -1, // Set motion event (unused) -1, // Set RGB LED (unused) + -1, // Set Adaptive Triggers (unused) }; static const short packetTypesGen5[] = { 0x0305, // Start A @@ -185,6 +187,7 @@ static const short packetTypesGen5[] = { -1, // Rumble triggers (unused) -1, // Set motion event (unused) -1, // Set RGB LED (unused) + -1, // Set Adaptive Triggers (unused) }; static const short packetTypesGen7[] = { 0x0305, // Start A @@ -199,6 +202,7 @@ static const short packetTypesGen7[] = { -1, // Rumble triggers (unused) -1, // Set motion event (unused) -1, // Set RGB LED (unused) + -1, // Set Adaptive Triggers (unused) }; static const short packetTypesGen7Enc[] = { 0x0302, // Request IDR frame