From 2ae3fe18acfd2c84dc1ae5abea7466937fbc3386 Mon Sep 17 00:00:00 2001 From: Stefan Kerkmann Date: Wed, 5 Oct 2022 19:13:49 +0200 Subject: [PATCH] Use manually locking for the ST7565 handler Otherwise we'll deadlock when acquiring the shared memory lock twice. --- quantum/split_common/transactions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantum/split_common/transactions.c b/quantum/split_common/transactions.c index 13fd8a761ee0..67986e43409f 100644 --- a/quantum/split_common/transactions.c +++ b/quantum/split_common/transactions.c @@ -623,7 +623,7 @@ static void st7565_handlers_slave(matrix_row_t master_matrix[], matrix_row_t sla } # define TRANSACTIONS_ST7565_MASTER() TRANSACTION_HANDLER_MASTER(st7565) -# define TRANSACTIONS_ST7565_SLAVE() TRANSACTION_HANDLER_SLAVE_AUTOLOCK(st7565) +# define TRANSACTIONS_ST7565_SLAVE() TRANSACTION_HANDLER_SLAVE(st7565) # define TRANSACTIONS_ST7565_REGISTRATIONS [PUT_ST7565] = trans_initiator2target_initializer(current_st7565_state), #else // defined(ST7565_ENABLE) && defined(SPLIT_ST7565_ENABLE)