From 97aa2660425c51bf39cbce2c2925415d165d9f15 Mon Sep 17 00:00:00 2001 From: Nicolas Rabault Date: Wed, 27 Sep 2023 18:42:30 +0200 Subject: [PATCH] Fix a cornercase where IRQ may stay stuck disabled --- engine/IO/src/luos_phy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/IO/src/luos_phy.c b/engine/IO/src/luos_phy.c index 26ddd151f..14a015b7e 100644 --- a/engine/IO/src/luos_phy.c +++ b/engine/IO/src/luos_phy.c @@ -802,6 +802,7 @@ _CRITICAL static void Phy_alloc(luos_phy_t *phy_ptr) // We probably have been reseted in the meantime. Just drop the message. phy_ptr->rx_alloc_job = false; phy_ptr->rx_keep = false; + Phy_SetIrqState(true); return; } Phy_SetIrqState(true);