1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 15:03:53 +01:00

drivers/gpio: renamed GPIO(x,y) macro to GPIO_PIN

This commit is contained in:
Hauke Petersen 2015-09-15 11:46:49 +02:00 committed by Thomas Eichinger
parent c0782d68e8
commit 0ce94291ac

View File

@ -30,8 +30,8 @@ extern "C" {
/**
* @brief Default GPIO macro maps port-pin tuples to the pin value
*/
#ifndef GPIO
#define GPIO(x,y) ((x & 0) | y)
#ifndef GPIO_PIN
#define GPIO_PIN(x,y) ((x & 0) | y)
#endif
/**