From ed1ea5e6b69b622ce2937f0d6867aa6e221eff2c Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 14 Mar 2023 01:41:18 +0200 Subject: [PATCH] Do not disable interrupts --- Core/Driver/Driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Driver/Driver.cpp b/Core/Driver/Driver.cpp index 01b8048..e27f0f1 100644 --- a/Core/Driver/Driver.cpp +++ b/Core/Driver/Driver.cpp @@ -218,7 +218,7 @@ namespace Driver SafeFunction void DriverInterruptHook::OnInterruptReceived(void *Frame) #endif { - SmartCriticalSection(DriverInterruptLock); + SmartLock(DriverInterruptLock); ((int (*)(void *))(Handle))(Data); UNUSED(Frame); }