xiaoxiang781216 commented on code in PR #16840: URL: https://github.com/apache/nuttx/pull/16840#discussion_r2270691014
########## arch/arm/src/rp2040/rp2040_gpio.h: ########## @@ -189,6 +200,38 @@ static inline void rp2040_gpio_set_drive_strength(uint32_t gpio, RP2040_PADS_BANK0_GPIO(gpio)); } +always_inline_function static void hw_xor_bits(uint32_t *addr, uint32_t mask) +{ + *(uint32_t *) hw_xor_alias_untyped((volatile void *) addr) = mask; Review Comment: ```suggestion *(uint32_t *)hw_xor_alias_untyped((volatile void *)addr) = mask; ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org