Run uncrustify with github workflows (#369)

* uncrustify with github workflows

* Fix find expression

* Add uncrustify configuration file

* Uncrustify some files

* uncrustify some more files

* uncrustify more files

* Fix whitespace at end of lines

Co-authored-by: Cobus van Eeden <35851496+cobusve@users.noreply.github.com>
diff --git a/include/stack_macros.h b/include/stack_macros.h
index 39a26f9..6894a3e 100644
--- a/include/stack_macros.h
+++ b/include/stack_macros.h
@@ -50,7 +50,7 @@
  * use on the stack.

  */

 #ifndef portSTACK_LIMIT_PADDING

-    #define portSTACK_LIMIT_PADDING 0

+    #define portSTACK_LIMIT_PADDING    0

 #endif

 

 #if ( ( configCHECK_FOR_STACK_OVERFLOW == 1 ) && ( portSTACK_GROWTH < 0 ) )

@@ -59,7 +59,7 @@
     #define taskCHECK_FOR_STACK_OVERFLOW()                                                            \

     {                                                                                                 \

         /* Is the currently saved stack pointer within the stack limit? */                            \

-        if( pxCurrentTCB->pxTopOfStack <= pxCurrentTCB->pxStack + portSTACK_LIMIT_PADDING)            \

+        if( pxCurrentTCB->pxTopOfStack <= pxCurrentTCB->pxStack + portSTACK_LIMIT_PADDING )           \

         {                                                                                             \

             vApplicationStackOverflowHook( ( TaskHandle_t ) pxCurrentTCB, pxCurrentTCB->pcTaskName ); \

         }                                                                                             \

@@ -75,7 +75,7 @@
     {                                                                                                 \

                                                                                                       \

         /* Is the currently saved stack pointer within the stack limit? */                            \

-        if( pxCurrentTCB->pxTopOfStack >= pxCurrentTCB->pxEndOfStack - portSTACK_LIMIT_PADDING)       \

+        if( pxCurrentTCB->pxTopOfStack >= pxCurrentTCB->pxEndOfStack - portSTACK_LIMIT_PADDING )      \

         {                                                                                             \

             vApplicationStackOverflowHook( ( TaskHandle_t ) pxCurrentTCB, pxCurrentTCB->pcTaskName ); \

         }                                                                                             \