Fixing an error.

master
Holger Wirtz 4 years ago
parent 45b49fcae0
commit f1ba1b68e5
  1. 2
      config.h
  2. 4
      midi_devices.hpp

@ -82,7 +82,7 @@
//* HARDWARE SETTINGS //* HARDWARE SETTINGS
//************************************************************************************************* //*************************************************************************************************
#define USB_AUDIO 1 //#define USB_AUDIO 1
// Teensy Audio Shield: // Teensy Audio Shield:
/* Values for SGTL5000_LINEOUT_LEVEL /* Values for SGTL5000_LINEOUT_LEVEL

@ -26,6 +26,8 @@
#include "config.h" #include "config.h"
extern config_t configuration;
/* #if defined(MIDI_DEVICE_USB) /* #if defined(MIDI_DEVICE_USB)
#include <midi_UsbTransport.h> #include <midi_UsbTransport.h>
#endif */ #endif */
@ -330,9 +332,9 @@ void handleAfterTouchPoly_MIDI_DEVICE_DIN(byte inChannel, byte inNumber, byte in
Serial.print(F("[MIDI_DIN] AT-Poly")); Serial.print(F("[MIDI_DIN] AT-Poly"));
#endif #endif
#ifdef MIDI_MERGE_THRU #ifdef MIDI_MERGE_THRU
#ifdef MIDI_DEVICE_USB_HOST
if (configuration.midi_soft_thru == true) if (configuration.midi_soft_thru == true)
{ {
#ifdef MIDI_DEVICE_USB_HOST
midi_usb.sendAfterTouch(inNumber, inVelocity, inChannel); midi_usb.sendAfterTouch(inNumber, inVelocity, inChannel);
#ifdef SHOW_DEBUG #ifdef SHOW_DEBUG
Serial.print(F(" THRU->MIDI_USB_HOST")); Serial.print(F(" THRU->MIDI_USB_HOST"));

Loading…
Cancel
Save