xiaoxiang781216 commented on PR #20363:
URL: https://github.com/apache/nuttx/pull/20363#issuecomment-5837221578
@jlaitine please fix the compiler error:
```
In file included from chip/imxrt118x_trdc.c:42:
chip/hardware/imxrt_gpio.h:73: error: "GPIO_PIN" redefined [-Werror]
73 | #define GPIO_PIN(n) (1 << (n)) /* Bit n: Pin n, n=0-31
*/
|
In file included from chip/hardware/imxrt_gpio.h:41:
/github/workspace/sources/nuttx/arch/arm/src/chip/hardware/rt118x/imxrt118x_gpio.h:75:
note: this is the location of the previous definition
75 | #define GPIO_PIN(n) (1u << (n)) /* Bit n: Pin
n, n=0-31 */
|
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]