Skip to content

Commit

Permalink
force active peering font color
Browse files Browse the repository at this point in the history
  • Loading branch information
jmamma committed Dec 20, 2020
1 parent 6c748d6 commit 6d914a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions avr/cores/megacommand/MCL/MidiActivePeering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ static void probePort(uint8_t port, MidiDevice *drivers[], size_t nr_drivers,
if (!pmidi || !pmidi_class)
return;
uint8_t id = pmidi->device.get_id();
oled_display.setTextColor(WHITE, BLACK);
if (id != DEVICE_NULL && pmidi->recvActiveSenseTimer > 300 &&
pmidi->speed > 31250) {
MidiUart.set_speed((uint32_t)31250, port);
Expand Down

0 comments on commit 6d914a9

Please sign in to comment.