From b0f75fb6ee850902c4f69f9ce46b543b94cd7906 Mon Sep 17 00:00:00 2001 From: Dylan Donahue Date: Wed, 4 Sep 2024 19:32:26 -0400 Subject: [PATCH] test --- .pre-commit-config.yaml | 1 + Core/Src/fault.c | 8 +++----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3cbad36..6a3fa28 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,3 +8,4 @@ repos: pass_filenames: false always_run: true stages: [pre-commit] + files: \.(c|h|cpp|hpp)$ diff --git a/Core/Src/fault.c b/Core/Src/fault.c index 2b62108..a415dc7 100644 --- a/Core/Src/fault.c +++ b/Core/Src/fault.c @@ -14,11 +14,9 @@ osMessageQueueId_t fault_handle_queue; osThreadId_t fault_handle; const osThreadAttr_t fault_handle_attributes = { - .name = "FaultHandler", - .stack_size = - - 52 * 8, - .priority = (osPriority_t)osPriorityRealtime1, + .name = "FaultHandler", + .stack_size = 52 * 8, + .priority = (osPriority_t)osPriorityRealtime1, }; int queue_fault(fault_data_t* fault_data)