doc: release notes: Update contents for 2.2.0

Update to API change in regards of USB changes.

Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no>
This commit is contained in:
Emil Obalski 2019-12-16 15:13:41 +01:00 committed by Carles Cufí
commit 7fc0486ca0

View file

@ -27,6 +27,15 @@ Deprecated in this release
Stable API changes in this release Stable API changes in this release
================================== ==================================
* USB
* The usb_enable() function, which was previously invoked automatically
by the USB stack, now needs to be explicitly called by the application
in order to enable the USB subsystem.
* The usb_enable() function now takes a parameter, usb_dc_status_callback
which can be set by the application to a callback to receive status events
from the USB stack. The parameter can also be set to NULL if no callback is required.
Removed APIs in this release Removed APIs in this release
============================ ============================