From 0e324a41a0c2738cabfa487e111abc55c24185f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=A4rkl?= Date: Tue, 5 Jan 2021 14:41:35 +0100 Subject: [PATCH] Fix setting a Feedback State Byte --- lib/src/feedback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/feedback.c b/lib/src/feedback.c index d5a46bc..4c52b72 100644 --- a/lib/src/feedback.c +++ b/lib/src/feedback.c @@ -38,7 +38,7 @@ CHIAKI_EXPORT void chiaki_feedback_state_format_v9(uint8_t *buf, ChiakiFeedbackS CHIAKI_EXPORT void chiaki_feedback_state_format_v12(uint8_t *buf, ChiakiFeedbackState *state) { chiaki_feedback_state_format_v9(buf, state); - buf[0x10] = 0x0; + buf[0x19] = 0x0; buf[0x1a] = 0x0; buf[0x1b] = 0x1; // 1 for Shock, 0 for Sense }