From 959d82e81e3a8185992a4c8edeff171fed9f01ca Mon Sep 17 00:00:00 2001 From: Erik van der Zalm Date: Sun, 20 Nov 2011 15:03:35 +0100 Subject: [PATCH] Small temperature disable bug. --- Marlin/temperature.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Marlin/temperature.cpp b/Marlin/temperature.cpp index f5df6f617..04353b566 100644 --- a/Marlin/temperature.cpp +++ b/Marlin/temperature.cpp @@ -430,21 +430,21 @@ void disable_heater() #if TEMP_0_PIN > -1 target_raw[0]=0; #if HEATER_0_PIN > -1 - WRITE(HEATER_0_PIN,LOW); + digitalWrite(HEATER_0_PIN,LOW); #endif #endif #if TEMP_1_PIN > -1 target_raw[1]=0; #if HEATER_1_PIN > -1 - WRITE(HEATER_1_PIN,LOW); + digitalWrite(HEATER_1_PIN,LOW); #endif #endif #if TEMP_2_PIN > -1 target_raw[2]=0; #if HEATER_2_PIN > -1 - WRITE(HEATER_2_PIN,LOW); + digitalWrite(HEATER_2_PIN,LOW); #endif #endif }