mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/rpx0xx: fix unused port warning due to GPIO_PIN macro
This commit is contained in:
parent
e3b52ff08d
commit
f7127fa2b7
@ -235,7 +235,7 @@ extern "C" {
|
||||
* @note The RPX0XX MCU family only has a single GPIO port. Still the API requires a
|
||||
* port parameter, which is currently ignored.
|
||||
*/
|
||||
#define GPIO_PIN(port, pin) (pin)
|
||||
#define GPIO_PIN(port, pin) ((((port) & 0)) | (pin))
|
||||
|
||||
/**
|
||||
* @brief Overwrite the default gpio_t type definition
|
||||
|
Loading…
Reference in New Issue
Block a user