File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 21
21
22
22
#include " esp_event.h"
23
23
#include " USBCDC.h"
24
- #include " Arduino.h" // necessary for ARDUINO_SERIAL_EVENT_TASK_STACK_SIZE definition
24
+ #include " Arduino.h" // defines ARDUINO_SERIAL_EVENT_TASK_STACK_SIZE and ARDUINO_SERIAL_EVENT_TASK_PRIORITY
25
25
26
26
#define ARDUINO_USB_ON_BOOT (ARDUINO_USB_CDC_ON_BOOT | ARDUINO_USB_MSC_ON_BOOT | ARDUINO_USB_DFU_ON_BOOT)
27
27
@@ -44,7 +44,7 @@ typedef union {
44
44
45
45
class ESPUSB {
46
46
public:
47
- ESPUSB (size_t event_task_stack_size = ARDUINO_SERIAL_EVENT_TASK_STACK_SIZE, uint8_t event_task_priority = 5 );
47
+ ESPUSB (size_t event_task_stack_size = ARDUINO_SERIAL_EVENT_TASK_STACK_SIZE, uint8_t event_task_priority = ARDUINO_SERIAL_EVENT_TASK_PRIORITY );
48
48
~ESPUSB ();
49
49
50
50
void onEvent (esp_event_handler_t callback);
You can’t perform that action at this time.
0 commit comments