Bladeren bron

Update usb.c

configure usb_mtp also from usb.c
main
WMXZ-EU 4 jaren geleden
bovenliggende
commit
b8992a8c00
No account linked to committer's email address
1 gewijzigde bestanden met toevoegingen van 4 en 0 verwijderingen
  1. +4
    -0
      teensy4/usb.c

+ 4
- 0
teensy4/usb.c Bestand weergeven

@@ -11,6 +11,7 @@
#include "usb_touch.h"
#include "usb_midi.h"
#include "usb_audio.h"
#include "usb_mtp.h"
#include "core_pins.h" // for delay()
#include "avr/pgmspace.h"
#include <string.h>
@@ -461,6 +462,9 @@ static void endpoint0_setup(uint64_t setupdata)
#if defined(AUDIO_INTERFACE)
usb_audio_configure();
#endif
#if defined(MTP_INTERFACE)
usb_mtp_configure();
#endif
#if defined(EXPERIMENTAL_INTERFACE)
endpoint_queue_head[2].unused1 = (uint32_t)experimental_buffer;
#endif

Laden…
Annuleren
Opslaan