瀏覽代碼

USB MIDI default to add sysex term bytes (same as MIDI lib)

teensy4-core
PaulStoffregen 7 年之前
父節點
當前提交
5280cbb13f
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      teensy3/usb_midi.h

+ 1
- 1
teensy3/usb_midi.h 查看文件

@@ -162,7 +162,7 @@ class usb_midi_class
// MIDI 4.3 also has version that takes float -1.0 to +1.0
send(0xE0, value, value >> 7, channel, cable);
}
void sendSysEx(uint32_t length, const uint8_t *data, bool hasTerm=true, uint8_t cable=0) __attribute__((always_inline)) {
void sendSysEx(uint32_t length, const uint8_t *data, bool hasTerm=false, uint8_t cable=0) __attribute__((always_inline)) {
if (cable >= MIDI_NUM_CABLES) return;
if (hasTerm) {
usb_midi_send_sysex_buffer_has_term(data, length, cable);

Loading…
取消
儲存