From 85a9e04aa2a9d18be7529c3d5642a93035ca520c Mon Sep 17 00:00:00 2001 From: Johann Fischer Date: Fri, 7 May 2021 09:42:20 +0200 Subject: [PATCH] doc: release-notes-2.6: add note about USB HID class API change Add release note about USB HID class API change. Signed-off-by: Johann Fischer --- doc/releases/release-notes-2.6.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/releases/release-notes-2.6.rst b/doc/releases/release-notes-2.6.rst index 4cb82a95a61..916bd3db42d 100644 --- a/doc/releases/release-notes-2.6.rst +++ b/doc/releases/release-notes-2.6.rst @@ -79,6 +79,10 @@ Deprecated in this release USB_HID_PROTOCOL_CODE does not allow to set boot protocol code for specific HID device. USB HID API function usb_hid_set_proto_code() can be used instead. +* USB HID class API is changed by removing get_protocol/set_protocol and + get_idle/set_idle callbacks. These callbacks are redundant or do not provide + any additional value and have led to incorrect usage of HID class API. + * The ``CONFIG_OPENOCD_SUPPORT`` Kconfig option has been deprecated in favor of ``CONFIG_DEBUG_THREAD_INFO``.