Fix M81 not working reliably on Gen7

Some discussion of the issue is here http://forums.reprap.org/read.php?181,118329,page=1
This commit is contained in:
andrey-vasilyev 2012-09-13 19:23:48 +04:00
parent 769796ed4c
commit 1d389ad3a8

View file

@ -1145,7 +1145,8 @@ void process_commands()
st_synchronize();
suicide();
#elif (PS_ON_PIN > -1)
SET_INPUT(PS_ON_PIN); //Floating
SET_OUTPUT(PS_ON_PIN);
WRITE(PS_ON_PIN, HIGH);
#endif
break;