mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 13:10:21 +01:00
When PWM constructor was created without specifying a device or setting both freq and duty rate, it was not tagged as used, and further calls to get a PWM object may get the same PWM device assigned. Fixes #13494. Signed-off-by: robert-hh <robert@hammelrath.com>