define new tria pins, configurable type ligt or shutter or plug

This commit is contained in:
harald 2014-02-18 09:32:01 +01:00
parent 7d354d8a37
commit 1f586c7735
4 changed files with 107 additions and 12 deletions

View file

@ -51,7 +51,13 @@
void
statusledinit(void)
{
/* todo disable jtag interface */
uint8_t temp;
/* Get MCUCR */
temp = MCUCR;
/* disable jtag */
MCUCR = temp|(1<<JTD);
MCUCR = temp|(1<<JTD);
}
/*---------------------------------------------------------------------------*/