Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: micropython/micropython-lib
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: HLammers/micropython-lib
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 1 file changed
  • 1 contributor

Commits on Jul 5, 2025

  1. Update core.py

    ⦁	Removed `import time` (not used)
    ⦁	Removed unused/duplicate `_Device.config` argument `config_str`
    ⦁	Fixed the loop reserving other string indexes used by built-in drivers `while len(strs) < builtin_driver.str_max:` to `while len(strs) < builtin\_driver.str\_max - 1:` (row 169)because str_max equals to one more than the highest string descriptor index value used by any built-in descriptor according to the [docs](https://docs.micropython.org/en/latest/library/machine.USBDevice.html) and added a comment that this loop is probably unnecessary or even wrong
    ⦁	Added `bAlternateSetting` as argument to `Descriptor.interface`, because it is used for USB MIDI 2.0
    ⦁	Some code optimisations
    HLammers committed Jul 5, 2025
    Configuration menu
    Copy the full SHA
    942c80c View commit details
    Browse the repository at this point in the history
  2. Update core.py

    Update fromatting
    HLammers committed Jul 5, 2025
    Configuration menu
    Copy the full SHA
    befd307 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7424b12 View commit details
    Browse the repository at this point in the history
Loading