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 2121
2222#include " esp_event.h"
2323#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
2525
2626#define ARDUINO_USB_ON_BOOT (ARDUINO_USB_CDC_ON_BOOT | ARDUINO_USB_MSC_ON_BOOT | ARDUINO_USB_DFU_ON_BOOT)
2727
@@ -44,7 +44,7 @@ typedef union {
4444
4545class ESPUSB {
4646public:
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 );
4848 ~ESPUSB ();
4949
5050 void onEvent (esp_event_handler_t callback);
You can’t perform that action at this time.
0 commit comments