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)