Skip to content

Commit

Permalink
drivers: serial: nrfx_uarte: Add const to the isr function argument
Browse files Browse the repository at this point in the history
ISR function prototype requires const void *.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
  • Loading branch information
nordic-krch committed Nov 6, 2023
1 parent b3447ec commit 1d2ad1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/serial/uart_nrfx_uarte.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ static void endtx_isr(const struct device *dev)
*
* @param arg Argument to ISR.
*/
static void uarte_nrfx_isr_int(void *arg)
static void uarte_nrfx_isr_int(const void *arg)
{
const struct device *dev = arg;
const struct uarte_nrfx_config *config = dev->config;
Expand Down

0 comments on commit 1d2ad1c

Please sign in to comment.