diff options
| author | Dario Nieuwenhuis <[email protected]> | 2022-07-21 19:47:09 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2022-07-21 19:47:09 +0200 |
| commit | c40d5f6e6ff81fb00507e384ef456d4390107e5e (patch) | |
| tree | 4b064b52d0057a2f6835e8d9a8d93c1165998385 /tests | |
| parent | 26fdfdb00a1819f4a21c8d0fe1220c079983eecc (diff) | |
nrf/usb: prevent user code from constructing a PowerUsb directly.
PowerUsb must be constructed through `new()` so that it sets up the IRQ.
It must have at least one private field, otherwise user code can construct
it directly with `PowerUsb{}`.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
