hujun260 commented on code in PR #15426:
URL: https://github.com/apache/nuttx/pull/15426#discussion_r1905203446


##########
arch/arm/src/am335x/am335x_gpio.c:
##########
@@ -219,6 +220,8 @@ static const uint8_t *g_gpio_padctl[AM335X_GPIO_NPORTS] =
   g_gpio3_padctl,                    /* GPIO3 */
 };
 
+static volatile spinlock_t g_gpio_lock = SP_UNLOCKED;

Review Comment:
   remove volatile



-- 
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

Reply via email to