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:
Anas Nashif 2016-05-18 11:16:37 -04:00
commit b8de79239f

View file

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