Merge pull request #6449 from ks156/master

boards/weio : Various bug corrections
pr/spi.typo
Peter Kietzmann 6 years ago committed by GitHub
commit df4d870ac7

@ -34,9 +34,9 @@ extern "C" {
* @brief LED pin definitions and handlers
* @{
*/
#define LED0_PIN GPIO_PIN(0, 13)
#define LED1_PIN GPIO_PIN(0, 14)
#define LED2_PIN GPIO_PIN(0, 15)
#define LED0_PIN GPIO_PIN(1, 13)
#define LED1_PIN GPIO_PIN(1, 14)
#define LED2_PIN GPIO_PIN(1, 15)
#define LED_PORT LPC_GPIO
#define LED0_MASK BIT13

@ -59,7 +59,7 @@ typedef uint16_t gpio_t;
/**
* @brief Define a custom GPIO_PIN macro for the lpc11u34
*/
#define GPIO_PIN(port, pin) (gpio_t)((port << 16) | pin)
#define GPIO_PIN(port, pin) (gpio_t)((port << 8) | pin)
/**
* @brief Number of PWM channels per PWM peripheral

Loading…
Cancel
Save