From 3e1bc79aacb86751c6ba8d8c3e16ee9f599266f5 Mon Sep 17 00:00:00 2001 From: Ilya Guterman Date: Wed, 27 Apr 2022 20:29:28 +0300 Subject: [PATCH] hidpp20: fix set onboard mode --- src/hidpp20.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hidpp20.c b/src/hidpp20.c index 3f219118..e117a7c9 100644 --- a/src/hidpp20.c +++ b/src/hidpp20.c @@ -2083,7 +2083,7 @@ hidpp20_onboard_profiles_set_onboard_mode(struct hidpp20_device *device, .msg.report_id = REPORT_ID_SHORT, .msg.device_idx = device->index, .msg.address = CMD_ONBOARD_PROFILES_SET_ONBOARD_MODE, - .msg.parameters[1] = onboard_mode, + .msg.parameters[0] = onboard_mode, }; feature_index = hidpp_root_get_feature_idx(device,