From ffd7270d677268f1364311b64d16b8fbb4931322 Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Mon, 25 Nov 2024 16:03:27 +0000 Subject: [PATCH] Move position of EV_CUSTOM to after EV_USB in enum so that the code for the emulator doesn't have to change --- src/jsdevices.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jsdevices.h b/src/jsdevices.h index 991bed518..100349b3f 100644 --- a/src/jsdevices.h +++ b/src/jsdevices.h @@ -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, @@ -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