diff --git a/Arduino_package/hardware/variants/datalogger_amb26/variant.cpp b/Arduino_package/hardware/variants/datalogger_amb26/variant.cpp index 47f99af7..e6beaa50 100644 --- a/Arduino_package/hardware/variants/datalogger_amb26/variant.cpp +++ b/Arduino_package/hardware/variants/datalogger_amb26/variant.cpp @@ -36,11 +36,7 @@ PinDescription g_APinDescription[TOTAL_GPIO_PIN_NUM]= {PA_14, TYPE_DIGITAL, PIO_GPIO | PIO_GPIO_IRQ | PIO_SPI, MODE_NOT_INITIAL}, // AMB_D1 {PA_13, TYPE_DIGITAL, PIO_GPIO | PIO_GPIO_IRQ | PIO_PWM | PIO_UART | PIO_SPI, MODE_NOT_INITIAL}, // AMB_D2 {PA_12, TYPE_DIGITAL, PIO_GPIO | PIO_GPIO_IRQ | PIO_PWM | PIO_UART | PIO_SPI, MODE_NOT_INITIAL}, // AMB_D3 -#ifdef BOARD_AMB26 {NC, NOT_INITIAL, NOT_INITIAL , MODE_NOT_INITIAL}, // AMB_D4 -#else - {PA_30, TYPE_DIGITAL, PIO_GPIO | PIO_GPIO_IRQ | PIO_PWM , MODE_NOT_INITIAL}, // AMB_D4 -#endif {PA_28, TYPE_DIGITAL, PIO_GPIO | PIO_GPIO_IRQ | PIO_PWM , MODE_NOT_INITIAL}, // AMB_D5 {PA_26, TYPE_DIGITAL, PIO_GPIO | PIO_GPIO_IRQ | PIO_PWM | PIO_IR | PIO_I2C , MODE_NOT_INITIAL}, // AMB_D6 {PA_25, TYPE_DIGITAL, PIO_GPIO | PIO_GPIO_IRQ | PIO_PWM | PIO_IR | PIO_I2C , MODE_NOT_INITIAL}, // AMB_D7 diff --git a/Arduino_package/hardware/variants/datalogger_amb26/variant.h b/Arduino_package/hardware/variants/datalogger_amb26/variant.h index 91e2e282..58d711bd 100644 --- a/Arduino_package/hardware/variants/datalogger_amb26/variant.h +++ b/Arduino_package/hardware/variants/datalogger_amb26/variant.h @@ -96,10 +96,7 @@ extern void wait_for_debug(void); #define A6 AMB_D9 // PB_3 3.3V CH6 /* LED pin mapping */ -#define LED_G AMB_D3 // Green -#define LED_R AMB_D2 // Red -#define LED_B AMB_D1 // Blue -#define LED_BUILTIN LED_G // Green +#define LED_BUILTIN NC /* ADC/DAC pin mapping */ #define FEATURE_ADC