summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkliment <kliment.yanev@gmail.com>2011-06-14 09:37:28 +0200
committerkliment <kliment.yanev@gmail.com>2011-06-14 09:37:28 +0200
commit38cb99420a4463e0de3423b7998b6e6372a12153 (patch)
tree1bf4c05ce9e0bf14e898aca6e05965b408418b58
parent62f03b03046d283d250efad2bbaeaab63ee05580 (diff)
Single line response to M105
-rw-r--r--Tonokip_Firmware/Tonokip_Firmware.pde7
1 files changed, 3 insertions, 4 deletions
diff --git a/Tonokip_Firmware/Tonokip_Firmware.pde b/Tonokip_Firmware/Tonokip_Firmware.pde
index e193265..ce670ca 100644
--- a/Tonokip_Firmware/Tonokip_Firmware.pde
+++ b/Tonokip_Firmware/Tonokip_Firmware.pde
@@ -669,14 +669,13 @@ inline void process_commands()
bt = analog2tempBed(current_bed_raw);
#endif
#if (TEMP_0_PIN > -1) || defined (HEATER_USES_MAX6675)
- Serial.print("T:");
- Serial.println(tt);
- #if TEMP_1_PIN > -1
-
Serial.print("ok T:");
Serial.print(tt);
+ #if TEMP_1_PIN > -1
Serial.print(" B:");
Serial.println(bt);
+ #else
+ Serial.println();
#endif
#else
Serial.println("No thermistors - no temp");