Skip to content

Commit

Permalink
Disable the MIDI Output as it is currently unused
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd authored Dec 9, 2023
1 parent e9f90b0 commit a8f8740
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@ if [ "${USB_DID}" ] ; then
fi

# Patch Circle so that descriptive strings are used in dmesg and in DAWs
sed -i -e 's|"Circle"|"probonopd"|g' circle-stdlib/libs/circle/lib/usb/gadget/usbmidigadget.cpp
sed -i -e 's|"MIDI Gadget"|"MiniDexed"|g' circle-stdlib/libs/circle/lib/usb/gadget/usbmidigadget.cpp
sed -i -e 's|"Circle"|"probonopd"|g' circle-stdlib/libs/circle/lib/usb/gadget/usbmidigadget.cpp
sed -i -e 's|"MIDI Gadget"|"MiniDexed"|g' circle-stdlib/libs/circle/lib/usb/gadget/usbmidigadget.cpp

# Disable the MIDI Output as it is currently unused
sed -i -e 's|m_pEP\[EPOut\]->AttachInterface|// m_pEP[EPOut]->AttachInterface|g' circle-stdlib/libs/circle/lib/usb/gadget/usbmidigadget.cpp

# Build circle-stdlib library
cd circle-stdlib/
Expand Down

0 comments on commit a8f8740

Please sign in to comment.