From 50fd5ad56c7dd5c5f595a29ad62872cd3714e05e Mon Sep 17 00:00:00 2001 From: Scheiffler Date: Fri, 6 Oct 2023 17:04:14 -0500 Subject: [PATCH] resolvign clang-format/lint errors --- Examples/MAX32690/USB_CompositeDevice_MSC_HID/main.c | 8 ++++---- Examples/MAX32690/USB_HIDKeyboard/main.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Examples/MAX32690/USB_CompositeDevice_MSC_HID/main.c b/Examples/MAX32690/USB_CompositeDevice_MSC_HID/main.c index 3761b75e57..b506a70e1b 100644 --- a/Examples/MAX32690/USB_CompositeDevice_MSC_HID/main.c +++ b/Examples/MAX32690/USB_CompositeDevice_MSC_HID/main.c @@ -116,14 +116,14 @@ int Hid_SW_Init(void) /******************************************************************************/ void HID_SW_Handler(void) { - MXC_GPIO_Handler(MXC_GPIO_GET_IDX(hid_sw[0].port)); + MXC_GPIO_Handler(MXC_GPIO_GET_IDX(hid_sw[0].port)); } int Hid_SW_RegisterCallback(unsigned int pb, pb_callback callback) { - if(pb != 0) { - return E_INVALID; - } + if (pb != 0) { + return E_INVALID; + } if (callback) { // Register callback diff --git a/Examples/MAX32690/USB_HIDKeyboard/main.c b/Examples/MAX32690/USB_HIDKeyboard/main.c index 2bc7276328..8b82e7651d 100644 --- a/Examples/MAX32690/USB_HIDKeyboard/main.c +++ b/Examples/MAX32690/USB_HIDKeyboard/main.c @@ -102,14 +102,14 @@ int Hid_SW_Init(void) /******************************************************************************/ void HID_SW_Handler(void) { - MXC_GPIO_Handler(MXC_GPIO_GET_IDX(hid_sw[0].port)); + MXC_GPIO_Handler(MXC_GPIO_GET_IDX(hid_sw[0].port)); } int Hid_SW_RegisterCallback(unsigned int pb, pb_callback callback) { - if(pb != 0) { - return E_INVALID; - } + if (pb != 0) { + return E_INVALID; + } if (callback) { // Register callback