Disable the MIDI Output as it is currently unused

usb-naming
probonopd 12 months ago committed by GitHub
parent e9f90b0694
commit a8f8740d5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      build.sh

@ -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/

Loading…
Cancel
Save