Skip to content

Commit 32ce7f2

Browse files
clang-format exclude list correction and erpc_threading.h reformat
1 parent acd195d commit 32ce7f2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/clang-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ jobs:
1111
- uses: DoozyX/[email protected]
1212
with:
1313
source: '.'
14-
exclude: 'examples/zephyr/matrix_multiply_rpmsglite/src/service examples/zephyr/matrix_multiply_uart/src/service'
14+
exclude: './examples/zephyr/matrix_multiply_rpmsglite/remote/src/service ./examples/zephyr/matrix_multiply_rpmsglite/src/service ./examples/zephyr/matrix_multiply_uart/src/service'
1515
clangFormatVersion: 16

erpc_c/port/erpc_threading.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,9 @@ class Thread
232232
static pthread_key_t s_threadObjectKey; /*!< Thread key. */
233233
pthread_t m_thread; /*!< Current thread. */
234234
#elif ERPC_THREADS_IS(FREERTOS)
235-
TaskHandle_t m_task; /*!< Current task. */
236-
Thread *m_next; /*!< Pointer to next Thread. */
237-
static Thread *s_first; /*!< Pointer to first Thread. */
235+
TaskHandle_t m_task; /*!< Current task. */
236+
Thread *m_next; /*!< Pointer to next Thread. */
237+
static Thread *s_first; /*!< Pointer to first Thread. */
238238
#if ERPC_ALLOCATION_POLICY == ERPC_ALLOCATION_POLICY_STATIC
239239
StaticTask_t m_staticTask; /*!< Hold static task data. */
240240
#endif
@@ -413,7 +413,7 @@ class Mutex
413413
#elif ERPC_THREADS_IS(ZEPHYR)
414414
struct k_mutex m_mutex; /*!< Mutex.*/
415415
#elif ERPC_THREADS_IS(MBED)
416-
rtos::Mutex *m_mutex; /*!< Mutex. */
416+
rtos::Mutex *m_mutex; /*!< Mutex. */
417417
#elif ERPC_THREADS_IS(WIN32)
418418
HANDLE m_mutex;
419419
#elif ERPC_THREADS_IS(THREADX)
@@ -499,7 +499,7 @@ class Semaphore
499499
SemaphoreHandle_t m_sem; /*!< Semaphore. */
500500
StaticSemaphore_t m_staticQueue; /*!< Static queue. */
501501
#elif ERPC_THREADS_IS(ZEPHYR)
502-
struct k_sem m_sem; /*!< Semaphore. */
502+
struct k_sem m_sem; /*!< Semaphore. */
503503
#elif ERPC_THREADS_IS(MBED)
504504
rtos::Semaphore *m_sem; /*!< Semaphore. */
505505
int m_count; /*!< Semaphore count number. */

0 commit comments

Comments
 (0)