Skip to content

Commit c7501a5

Browse files
committed
Uncrustify cellular demo applcation source code
Uncrustify cellular demo applcation source code
1 parent acc5a62 commit c7501a5

6 files changed

Lines changed: 345 additions & 344 deletions

File tree

source/cellular/cellular_platform.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ typedef QueueHandle_t SemaphoreHandle_t;
3333

3434
typedef struct threadInfo
3535
{
36-
void * pArgument; /**< @brief Argument to `threadRoutine`. */
37-
void ( * threadRoutine )( void * ); /**< @brief Thread function to run. */
36+
void * pArgument; /**< @brief Argument to `threadRoutine`. */
37+
void ( *threadRoutine )( void * ); /**< @brief Thread function to run. */
3838
} threadInfo_t;
3939

4040
/*-----------------------------------------------------------*/
@@ -97,7 +97,7 @@ static bool prIotMutexTimedLock( PlatformMutex_t * pMutex,
9797

9898
/*-----------------------------------------------------------*/
9999

100-
bool Platform_CreateDetachedThread( void ( * threadRoutine )( void * ),
100+
bool Platform_CreateDetachedThread( void ( *threadRoutine )( void * ),
101101
void * pArgument,
102102
int32_t priority,
103103
size_t stackSize )

source/cellular/cellular_platform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,6 @@ void PlatformMutex_Unlock( PlatformMutex_t * pMutex );
149149
* https://www.freertos.org/a00127.html
150150
*
151151
*/
152-
#define Platform_Delay( delayMs ) vTaskDelay( pdMS_TO_TICKS( delayMs ) )
152+
#define Platform_Delay( delayMs ) vTaskDelay( pdMS_TO_TICKS( delayMs ) )
153153

154154
#endif /* __CELLULAR_PLATFORM_H__ */

source/cellular_setup.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@
4949
#error "CELLULAR_APN is not defined in cellular_config.h"
5050
#endif
5151

52-
#define CELLULAR_SIM_CARD_WAIT_INTERVAL_MS ( 500UL )
53-
#define CELLULAR_MAX_SIM_RETRY ( 5U )
52+
#define CELLULAR_SIM_CARD_WAIT_INTERVAL_MS ( 500UL )
53+
#define CELLULAR_MAX_SIM_RETRY ( 5U )
5454

55-
#define CELLULAR_PDN_CONNECT_WAIT_INTERVAL_MS ( 1000UL )
55+
#define CELLULAR_PDN_CONNECT_WAIT_INTERVAL_MS ( 1000UL )
5656

5757
/*-----------------------------------------------------------*/
5858

0 commit comments

Comments
 (0)