Browse Source

Merge pull request #514 from WMXZ-EU/patch-5

Update usb.c
teensy4-core
Paul Stoffregen 4 years ago
parent
commit
cb92ea93f1
No account linked to committer's email address
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      teensy4/usb.c

+ 4
- 0
teensy4/usb.c View File

#include "usb_touch.h" #include "usb_touch.h"
#include "usb_midi.h" #include "usb_midi.h"
#include "usb_audio.h" #include "usb_audio.h"
#include "usb_mtp.h"
#include "core_pins.h" // for delay() #include "core_pins.h" // for delay()
#include "avr/pgmspace.h" #include "avr/pgmspace.h"
#include <string.h> #include <string.h>
#if defined(AUDIO_INTERFACE) #if defined(AUDIO_INTERFACE)
usb_audio_configure(); usb_audio_configure();
#endif #endif
#if defined(MTP_INTERFACE)
usb_mtp_configure();
#endif
#if defined(EXPERIMENTAL_INTERFACE) #if defined(EXPERIMENTAL_INTERFACE)
endpoint_queue_head[2].unused1 = (uint32_t)experimental_buffer; endpoint_queue_head[2].unused1 = (uint32_t)experimental_buffer;
#endif #endif

Loading…
Cancel
Save