From c3923057611de61a4bdeabc12083b21d4964b1bb Mon Sep 17 00:00:00 2001 From: kliment Date: Tue, 19 Apr 2011 09:22:46 +0200 Subject: Initialize temp variables correctly --- Tonokip_Firmware/Tonokip_Firmware.pde | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tonokip_Firmware/Tonokip_Firmware.pde b/Tonokip_Firmware/Tonokip_Firmware.pde index 97764da..7b3b734 100644 --- a/Tonokip_Firmware/Tonokip_Firmware.pde +++ b/Tonokip_Firmware/Tonokip_Firmware.pde @@ -83,9 +83,9 @@ char *strchr_pointer; // just a pointer to find chars in the cmd string like X, //manage heater variables int target_raw = 0; -int current_raw; +int current_raw =0; int target_bed_raw = 0; -int current_bed_raw; +int current_bed_raw=0; float tt=0,bt=0; #ifdef PIDTEMP int temp_iState=0; -- cgit v1.2.1