From fb0e6597b611731e31b5d1285e52fc81a5ffd559 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 1 Aug 2010 06:53:08 +0000 Subject: Invert the logic for the VBUS power light in the AVRISP-MKII project for the USBTINY-MKII board target. --- Projects/AVRISP-MKII/AVRISP-MKII.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projects/AVRISP-MKII/AVRISP-MKII.c b/Projects/AVRISP-MKII/AVRISP-MKII.c index 0afb087cf..83b39ef43 100644 --- a/Projects/AVRISP-MKII/AVRISP-MKII.c +++ b/Projects/AVRISP-MKII/AVRISP-MKII.c @@ -52,7 +52,7 @@ int main(void) #if (BOARD == BOARD_USBTINYMKII) /* On the USBTINY-MKII target, there is a secondary LED which indicates the current selected power mode - either VBUS, or sourced from the VTARGET pin of the programming connectors */ - LEDs_ChangeLEDs(LEDMASK_VBUSPOWER, (PIND & (1 << 0)) ? LEDMASK_VBUSPOWER : 0); + LEDs_ChangeLEDs(LEDMASK_VBUSPOWER, (PIND & (1 << 0)) ? 0 : LEDMASK_VBUSPOWER); #endif AVRISP_Task(); -- cgit v1.2.3