Skip to content

Commit

Permalink
Marlin_main: Disable JTAG in setup() if DISABLE_JTAG is defined
Browse files Browse the repository at this point in the history
Allows use of JTAG pins as IO
  • Loading branch information
lwalkera committed Jan 18, 2014
1 parent 5d58fe0 commit 1f17c43
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Marlin/Marlin_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,10 @@ void servo_init()

void setup()
{
#ifdef DISABLE_JTAG
MCUCR = 0x80;
MCUCR = 0x80;
#endif
setup_killpin();
setup_powerhold();
MYSERIAL.begin(BAUDRATE);
Expand Down

0 comments on commit 1f17c43

Please sign in to comment.