From c72531edc636ddbacda75d86f9bb74e0f1bb92fb Mon Sep 17 00:00:00 2001 From: Leopold Date: Wed, 2 Aug 2023 12:23:04 +0800 Subject: [PATCH] change FuriThreadPriorityIsr to 31 (configMAX_PRIORITIES-1) (#2920) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * change FuriThreadPriorityIsr to 31 (configMAX_PRIORITIES-1) * Furi: less hardcoded max priority, fix spelling * Format sources Co-authored-by: hedger Co-authored-by: あく --- furi/core/thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/furi/core/thread.h b/furi/core/thread.h index 022894ee..692f2a10 100644 --- a/furi/core/thread.h +++ b/furi/core/thread.h @@ -28,7 +28,7 @@ typedef enum { FuriThreadPriorityNormal = 16, /**< Normal */ FuriThreadPriorityHigh = 17, /**< High */ FuriThreadPriorityHighest = 18, /**< Highest */ - FuriThreadPriorityIsr = 32, /**< Deffered Isr (highest possible) */ + FuriThreadPriorityIsr = (configMAX_PRIORITIES - 1), /**< Deferred ISR (highest possible) */ } FuriThreadPriority; /** FuriThread anonymous structure */