From b3941fce5ccce06b1e82adbc9397bbea68182bf5 Mon Sep 17 00:00:00 2001 From: Daid Date: Sat, 19 May 2012 18:48:43 +0200 Subject: [PATCH] Update after testing --- Marlin/Marlin.pde | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/Marlin.pde b/Marlin/Marlin.pde index 6d8a7b4dc8..a1843a0ad3 100644 --- a/Marlin/Marlin.pde +++ b/Marlin/Marlin.pde @@ -1279,12 +1279,12 @@ void process_commands() if (codenum > 0) { codenum += millis(); // keep track of when we started waiting - while(millis() < codenum && buttons == 0){ + while(millis() < codenum && !CLICKED){ manage_heater(); manage_inactivity(1); } }else{ - while(buttons == 0) { + while(!CLICKED) { manage_heater(); manage_inactivity(1); }