summaryrefslogtreecommitdiff
path: root/Tonokip_Firmware
diff options
context:
space:
mode:
authorkliment <kliment.yanev@gmail.com>2011-04-19 09:22:46 +0200
committerkliment <kliment.yanev@gmail.com>2011-04-19 09:22:46 +0200
commitc3923057611de61a4bdeabc12083b21d4964b1bb (patch)
treed2b0dafc845f454758b64f6bd9e4a407e5b84fc0 /Tonokip_Firmware
parent614d568a9608ff76194b96dc2584d6b922d05310 (diff)
Initialize temp variables correctly
Diffstat (limited to 'Tonokip_Firmware')
-rw-r--r--Tonokip_Firmware/Tonokip_Firmware.pde4
1 files 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;