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

This commit is contained in:
Harald Pichler 2014-02-18 09:32:01 +01:00
parent 35668c8aed
commit 8b323633cd
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);
}
/*---------------------------------------------------------------------------*/