Skip to content

Commit

Permalink
resolvign clang-format/lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Scheiffler committed Oct 6, 2023
1 parent 27b2877 commit 50fd5ad
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Examples/MAX32690/USB_CompositeDevice_MSC_HID/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions Examples/MAX32690/USB_HIDKeyboard/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 50fd5ad

Please sign in to comment.