samples: Use GPIO_0 as the default instance
Change-Id: Ibe9d0add007487cd47fd2a26df992ff9614883b3 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
39a4b17f3b
commit
b8de79239f
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@
|
||||||
#elif defined(CONFIG_GPIO_ATMEL_SAM3)
|
#elif defined(CONFIG_GPIO_ATMEL_SAM3)
|
||||||
#define GPIO_DRV_NAME CONFIG_GPIO_ATMEL_SAM3_PORTB_DEV_NAME
|
#define GPIO_DRV_NAME CONFIG_GPIO_ATMEL_SAM3_PORTB_DEV_NAME
|
||||||
#else
|
#else
|
||||||
#error "Unsupported GPIO driver"
|
#define GPIO_DRV_NAME "GPIO_0"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void gpio_callback(struct device *port,
|
void gpio_callback(struct device *port,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue