Skip to content

Commit

Permalink
Move position of EV_CUSTOM to after EV_USB in enum so that the code f…
Browse files Browse the repository at this point in the history
…or the emulator doesn't have to change
  • Loading branch information
gfwilliams committed Nov 25, 2024
1 parent 1aed934 commit ffd7270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jsdevices.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ typedef enum {
EV_NONE,
EV_EXTI0, ///< External Interrupt
EV_EXTI_MAX = EV_EXTI0 + ESPR_EXTI_COUNT - 1,
EV_CUSTOM, ///< Custom event (See IOCustomEventFlags)
EV_SERIAL_START,
EV_LOOPBACKA = EV_SERIAL_START,
EV_LOOPBACKB,
Expand Down Expand Up @@ -86,6 +85,7 @@ typedef enum {
EV_BLUETOOTH_PENDING, // Tasks that came from the Bluetooth Stack in an IRQ
EV_BLUETOOTH_PENDING_DATA, // Data for pending tasks - this comes after the EV_BLUETOOTH_PENDING task itself
#endif
EV_CUSTOM, ///< Custom event (See IOCustomEventFlags)
#ifdef BANGLEJS
EV_BANGLEJS, // sent whenever Bangle.js-specific data needs to be queued
#endif
Expand Down

0 comments on commit ffd7270

Please sign in to comment.