Explicitly add void to the argument list of zero argument functions.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "reset_button.h"
|
||||
#include "fsl_port.h"
|
||||
|
||||
void InitResetButton() {
|
||||
void InitResetButton(void) {
|
||||
CLOCK_EnableClock(RESET_BUTTON_CLOCK);
|
||||
PORT_SetPinConfig(RESET_BUTTON_PORT, RESET_BUTTON_PIN,
|
||||
&(port_pin_config_t){.pullSelect=kPORT_PullUp, .mux=kPORT_MuxAsGpio});
|
||||
|
||||
Reference in New Issue
Block a user