Skip to content

Commit 1f0809a

Browse files
Keyur HariyaKeyur Hariya
authored andcommitted
Add the missing input parameter
1 parent 85bc74c commit 1f0809a

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

targets/TARGET_Maxim/TARGET_MAX32620C/mxc/mxc_sys.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ uint32_t SYS_CPU_GetFreq(void);
125125
* @returns E_NO_ERROR if everything is successful
126126
*/
127127
int SYS_ADC_Init(void);
128-
128+
129129
/**
130130
* @brief System level initialization for AES module.
131131
* @returns E_NO_ERROR if everything is successful
@@ -240,13 +240,13 @@ int SYS_SPIX_Init(const sys_cfg_spix_t *sys_cfg, uint32_t baud);
240240
* @brief System level shutdown for SPIX module
241241
* @returns E_NO_ERROR if everything is successful
242242
*/
243-
int SYS_SPIX_Shutdown();
243+
int SYS_SPIX_Shutdown(void);
244244

245245
/**
246246
* @brief Get the frequency of the SPIX module source clock
247247
* @returns frequency in Hz
248248
*/
249-
uint32_t SYS_SPIX_GetFreq();
249+
uint32_t SYS_SPIX_GetFreq(void);
250250

251251
/**
252252
* @brief System level initialization for SPIS module.
@@ -259,13 +259,13 @@ int SYS_SPIS_Init(const sys_cfg_spix_t *sys_cfg);
259259
* @brief System level shutdown for SPIS module
260260
* @returns E_NO_ERROR if everything is successful
261261
*/
262-
int SYS_SPIS_Shutdown();
262+
int SYS_SPIS_Shutdown(void);
263263

264264
/**
265265
* @brief Get the frequency of the SPIS module source clock
266266
* @returns frequency in Hz
267267
*/
268-
uint32_t SYS_SPIS_GetFreq();
268+
uint32_t SYS_SPIS_GetFreq(void);
269269

270270
/**
271271
* @brief System level initialization for OWM module.
@@ -436,7 +436,7 @@ uint32_t SYS_SRAM_GetSize(void);
436436
* @returns size of Flash in bytes
437437
*/
438438
uint32_t SYS_FLASH_GetSize(void);
439-
439+
440440
#ifdef __cplusplus
441441
}
442442
#endif

targets/TARGET_Maxim/TARGET_MAX32630/mxc/mxc_sys.h

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -92,50 +92,50 @@ typedef struct {
9292
*/
9393
typedef sys_cfg_t sys_cfg_uart_t;
9494

95-
/**
95+
/**
9696
* Structure type for I2CM System Configuration.
9797
* @ingroup i2cm
9898
*/
9999
typedef sys_cfg_t sys_cfg_i2cm_t;
100100

101-
/**
102-
* Structure type for I2CS System Configuration.
101+
/**
102+
* Structure type for I2CS System Configuration.
103103
* @ingroup i2cs
104104
*/
105105
typedef sys_cfg_t sys_cfg_i2cs_t;
106106

107-
/**
108-
* Structure type for SPIM System Configuration.
107+
/**
108+
* Structure type for SPIM System Configuration.
109109
* @ingroup spim
110110
*/
111111
typedef sys_cfg_t sys_cfg_spim_t;
112112

113-
/**
114-
* Structure type for SPIX System Configuration.
115-
* @ingroup spix
113+
/**
114+
* Structure type for SPIX System Configuration.
115+
* @ingroup spix
116116
*/
117117
typedef sys_cfg_t sys_cfg_spix_t;
118118

119-
/**
120-
* Structure type for OWM System Configuration.
119+
/**
120+
* Structure type for OWM System Configuration.
121121
* @ingroup owm
122122
*/
123123
typedef sys_cfg_t sys_cfg_owm_t;
124124

125-
/**
126-
* Structure type for Timer System Configuration.
125+
/**
126+
* Structure type for Timer System Configuration.
127127
* @ingroup timer
128128
*/
129129
typedef gpio_cfg_t sys_cfg_tmr_t;
130130

131-
/**
131+
/**
132132
* Structure type for Pulse Train System Configuration.
133133
* @ingroup pulsetrain
134134
*/
135135
typedef gpio_cfg_t sys_cfg_pt_t;
136136

137137
/**
138-
* Structure type for Pulse Train Clock Scale Configuration.
138+
* Structure type for Pulse Train Clock Scale Configuration.
139139
* @ingroup clkman
140140
* @ingroup pulsetrain
141141
*/
@@ -168,7 +168,7 @@ uint32_t SYS_CPU_GetFreq(void);
168168
* @ingroup adc
169169
*/
170170
int SYS_ADC_Init(void);
171-
171+
172172
/**
173173
* @brief System level initialization for the AES module.
174174
* @return #E_NO_ERROR if everything is successful
@@ -299,14 +299,14 @@ int SYS_SPIX_Init(const sys_cfg_spix_t *sys_cfg, uint32_t baud);
299299
* @return #E_NO_ERROR if everything is successful
300300
* @ingroup spix
301301
*/
302-
int SYS_SPIX_Shutdown();
302+
int SYS_SPIX_Shutdown(void);
303303

304304
/**
305305
* @brief Get the frequency of the SPIX module source clock
306306
* @return frequency in Hz
307307
* @ingroup spix
308308
*/
309-
uint32_t SYS_SPIX_GetFreq();
309+
uint32_t SYS_SPIX_GetFreq(void);
310310

311311
/**
312312
* @brief System level initialization for OWM module.

0 commit comments

Comments
 (0)