Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kanndil committed Jan 13, 2025
1 parent 504be9c commit 0e9dc91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fw/EF_GPIO8.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ EF_DRIVER_STATUS EF_GPIO8_setICR(EF_GPIO8_TYPE_PTR gpio, uint32_t mask){
if (gpio == NULL){
status = EF_DRIVER_ERROR_PARAMETER; // Return EF_DRIVER_ERROR_PARAMETER if gpio is NULL
}else {
gpio->IC |= mask; // Set the IC register with the required mask value
gpio->IC = mask; // Set the IC register with the required mask value
}

return status;
Expand Down

0 comments on commit 0e9dc91

Please sign in to comment.