mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 13:10:21 +01:00
Only one of pcd_fs_handle/pcd_hs_handle is ever initialised, so if both of these USB peripherals are enabled then one of these if-statements will access invalid memory pointed to by an uninitialised Instance. This patch fixes this bug by explicitly referencing the peripheral struct.