Skip to content

Making soft_reboot() work on more USB build flags than USB_SERIAL#74

Open
SMattsson wants to merge 1 commit into
PaulStoffregen:masterfrom
SMattsson:softRebootUpdate
Open

Making soft_reboot() work on more USB build flags than USB_SERIAL#74
SMattsson wants to merge 1 commit into
PaulStoffregen:masterfrom
SMattsson:softRebootUpdate

Conversation

@SMattsson
Copy link
Copy Markdown

Currently soft_reboot() only works on builds compiled with USB_SERIAL.

This commit updates the soft_reboot() to be able to reboot builds compiled with USB_MIDI_SERIAL, USB_MIDI4_SERIAL and USB_MIDI16_SERIAL.

…SB_MIDI_SERIAL, USB_MIDI4_SERIAL and USB_MIDI16_SERIAL
Comment thread teensy_loader_cli.c
serial_handle = open_usb_device(0x16C0, 0x0483);
if (!serial_handle) {
serial_handle = open_usb_device(0x16C0, 0x0489);
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also check for Teensy 4.1 dual serial and triple serial:

if (!serial_handle) {
    serial_handle = open_usb_device(0x16C0, 0x048b);
}
if (!serial_handle) {
    serial_handle = open_usb_device(0x16C0, 0x048c);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants