Skip to content

Commit c81b0fe

Browse files
keith-packardjhedberg
authored andcommitted
wiseconnect: Don't use uint8_t for sl_si91x_gpio_wakeup_t parameter
GCC 14.3 complains when a function declaration and definition have a mismatch between an enum and an integer type. Adjust the definition of sl_si91x_gpio_select_group_interrupt_wakeup so that the definition matches the prototype so that both use the enum type. Upstream-status: Pending Signed-off-by: Keith Packard <[email protected]> Signed-off-by: Jérôme Pouiller <[email protected]>
1 parent 5c26016 commit c81b0fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wiseconnect/components/device/silabs/si91x/mcu/drivers/unified_peripheral_drivers/src/sl_si91x_peripheral_gpio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ uint32_t sl_si91x_gpio_get_group_interrupt_status(uint8_t port, sl_si91x_group_i
859859
******************************************************************************/
860860
void sl_si91x_gpio_select_group_interrupt_wakeup(uint8_t port,
861861
sl_si91x_group_interrupt_t group_interrupt,
862-
uint8_t flags)
862+
sl_si91x_gpio_wakeup_t flags)
863863
{
864864
SL_GPIO_ASSERT(SL_GPIO_VALIDATE_PORT(port));
865865
SL_GPIO_ASSERT(SL_GPIO_VALIDATE_PARAMETER(group_interrupt));

0 commit comments

Comments
 (0)