commit | bfb23cc5deb0f1d14db99ccdf60d459c972094ba | [log] [tgz] |
---|---|---|
author | Pawel Dunaj <pawel.dunaj@nordicsemi.no> | Tue Jan 22 15:00:47 2019 +0100 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Tue Jan 22 17:44:17 2019 +0100 |
tree | cf2f1aa3f43683b8f9377b16212d29bab3e80f8e | |
parent | fdce786c07a1e86fa0f61c30537afabb71438c2c [diff] |
drivers: usb: Do not enable non-existing USB endpoints Number of USB endpoints is set via DTS, nevertheless USB driver tries to enable all endpoints as it uses number of endpoints from nRFx. This commit makes driver enable only these endpoints that were enabled in DTS. Signed-off-by: Pawel Dunaj <pawel.dunaj@nordicsemi.no>