Skip to content
Snippets Groups Projects
Commit fb0e6597 authored by Dean Camera's avatar Dean Camera
Browse files

Invert the logic for the VBUS power light in the AVRISP-MKII project for the...

Invert the logic for the VBUS power light in the AVRISP-MKII project for the USBTINY-MKII board target.
parent 5dfa25f8
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment