From 1d389ad3a8dcbbd14dce11c8b489387ec07b48ac Mon Sep 17 00:00:00 2001 From: andrey-vasilyev Date: Thu, 13 Sep 2012 19:23:48 +0400 Subject: [PATCH] Fix M81 not working reliably on Gen7 Some discussion of the issue is here http://forums.reprap.org/read.php?181,118329,page=1 --- Marlin/Marlin.pde | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Marlin/Marlin.pde b/Marlin/Marlin.pde index 5c46e7355..f38d3f052 100644 --- a/Marlin/Marlin.pde +++ b/Marlin/Marlin.pde @@ -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;