TEST

Dependencies:   max32630fthr Adafruit_FeatherOLED USBDevice

Committer:
gmehmet
Date:
Wed Apr 10 14:56:25 2019 +0300
Revision:
1:f60eafbf009a
upload from local

Who changed what in which revision?

UserRevisionLine numberNew contents of line
gmehmet 1:f60eafbf009a 1 diff -r c5e178adb138 USBDevice/USBHAL_Maxim.cpp
gmehmet 1:f60eafbf009a 2 --- a/USBDevice/USBHAL_Maxim.cpp Fri Nov 11 17:59:00 2016 +0000
gmehmet 1:f60eafbf009a 3 +++ b/USBDevice/USBHAL_Maxim.cpp Thu Mar 30 11:14:58 2017 +0300
gmehmet 1:f60eafbf009a 4 @@ -141,8 +141,13 @@
gmehmet 1:f60eafbf009a 5
gmehmet 1:f60eafbf009a 6 // attach IRQ handler and enable interrupts
gmehmet 1:f60eafbf009a 7 instance = this;
gmehmet 1:f60eafbf009a 8 +#if defined(TARGET_MAX32630)
gmehmet 1:f60eafbf009a 9 NVIC_SetVector(USB_IRQn, &_usbisr);
gmehmet 1:f60eafbf009a 10 +#else
gmehmet 1:f60eafbf009a 11 + NVIC_SetVector(USB_IRQn, (uint32_t)&_usbisr);
gmehmet 1:f60eafbf009a 12 +#endif
gmehmet 1:f60eafbf009a 13 NVIC_EnableIRQ(USB_IRQn);
gmehmet 1:f60eafbf009a 14 +
gmehmet 1:f60eafbf009a 15 }
gmehmet 1:f60eafbf009a 16
gmehmet 1:f60eafbf009a 17 USBHAL::~USBHAL(void)