From f616a88b1511b2a1cd9eb7f9b6479099040a0ec0 Mon Sep 17 00:00:00 2001
From: Arkadiusz Gluszyk <agluszyk@virtuslab.com>
Date: Sat, 24 Mar 2018 14:32:37 +0100
Subject: [PATCH] Adjusted Tronxy X5s settings

Signed-off-by: Arkadiusz Gluszyk <agluszyk@cs.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
---
 ...ronxy-x5s-2017.cfg => printer-tronxy-x5s-2018.cfg} | 11 +++++++++++
 1 file changed, 11 insertions(+)
 rename config/{printer-tronxy-x5s-2017.cfg => printer-tronxy-x5s-2018.cfg} (78%)
 mode change 100644 => 100755

diff --git a/config/printer-tronxy-x5s-2017.cfg b/config/printer-tronxy-x5s-2018.cfg
old mode 100644
new mode 100755
similarity index 78%
rename from config/printer-tronxy-x5s-2017.cfg
rename to config/printer-tronxy-x5s-2018.cfg
index c7b483ded..7a8fc7112
--- a/config/printer-tronxy-x5s-2017.cfg
+++ b/config/printer-tronxy-x5s-2018.cfg
@@ -2,6 +2,12 @@
 # use this config, the firmware should be compiled for the AVR
 # atmega1284p.
 
+# UPDATE 2018
+# Newest Tronxy's are coming with bootloader present, so follow
+# klipper install instructions but instead of "make flash FLASH_DEVICE=/dev/ttyACM0"
+# use:
+# avrdude -p atmega1284p -c arduino -b 57600 -P /dev/ttyUSB0 -U out/klipper.elf.hex
+
 # Note, a number of Melzi boards are shipped without a bootloader. In
 # that case, an external programmer will be needed to flash a
 # bootloader to the board (for example, see
@@ -65,6 +71,11 @@ control: watermark
 min_temp: 0
 max_temp: 150
 
+[verify_heater heater_bed]
+# adjust for personal bed setup, this prevents stock heated bed from issuing
+# false positive heating errors due to slow temperature increase
+check_gain_time: 600
+
 [fan]
 pin: PB4