forked from mfulz_github/qmk_firmware
Invert the logic for the VBUS power light in the AVRISP-MKII project for the USBTINY-MKII board target.
This commit is contained in:
parent
5dfa25f81a
commit
fb0e6597b6
@ -52,7 +52,7 @@ int main(void)
|
|||||||
#if (BOARD == BOARD_USBTINYMKII)
|
#if (BOARD == BOARD_USBTINYMKII)
|
||||||
/* On the USBTINY-MKII target, there is a secondary LED which indicates the current selected power
|
/* 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 */
|
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
|
#endif
|
||||||
|
|
||||||
AVRISP_Task();
|
AVRISP_Task();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user