aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2022-07-21 19:47:09 +0200
committerDario Nieuwenhuis <[email protected]>2022-07-21 19:47:09 +0200
commitc40d5f6e6ff81fb00507e384ef456d4390107e5e (patch)
tree4b064b52d0057a2f6835e8d9a8d93c1165998385 /examples
parent26fdfdb00a1819f4a21c8d0fe1220c079983eecc (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 'examples')
0 files changed, 0 insertions, 0 deletions