Merge pull request #6053 from thinkyhead/rc_clean

Remove extraneous whitespace
2.0.x
Scott Lahteine 8 years ago committed by GitHub
commit 03aa424ccb

@ -848,7 +848,7 @@
* Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered, * Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered,
* then decrease current by CURRENT_STEP until temperature prewarn is cleared. * then decrease current by CURRENT_STEP until temperature prewarn is cleared.
* Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX * Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX
*/ */
//#define AUTOMATIC_CURRENT_CONTROL //#define AUTOMATIC_CURRENT_CONTROL
#define CURRENT_STEP 50 // [mA] #define CURRENT_STEP 50 // [mA]
#define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak #define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak
@ -1063,7 +1063,7 @@
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter. * with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
* *
* M200 D0 to disable, M200 Dn to set a new diameter. * M200 D0 to disable, M200 Dn to set a new diameter.
*/ */
//#define VOLUMETRIC_DEFAULT_ON //#define VOLUMETRIC_DEFAULT_ON
/** /**

@ -45,7 +45,7 @@
# #
# make ARDUINO_VERSION=10609 AVR_TOOLS_PATH=/root/arduino/hardware/tools/avr/bin/ \ # make ARDUINO_VERSION=10609 AVR_TOOLS_PATH=/root/arduino/hardware/tools/avr/bin/ \
# HARDWARE_MOTHERBOARD=33 ARDUINO_INSTALL_DIR=/root/arduino upload # HARDWARE_MOTHERBOARD=33 ARDUINO_INSTALL_DIR=/root/arduino upload
# #
# If uploading doesn't work try adding the parameter "AVRDUDE_PROGRAMMER=wiring" or # If uploading doesn't work try adding the parameter "AVRDUDE_PROGRAMMER=wiring" or
# start upload manually (using stk500) like so: # start upload manually (using stk500) like so:
# #
@ -69,7 +69,7 @@ AVR_TOOLS_PATH ?=
#Programmer configuration #Programmer configuration
UPLOAD_RATE ?= 57600 UPLOAD_RATE ?= 57600
AVRDUDE_PROGRAMMER ?= arduino AVRDUDE_PROGRAMMER ?= arduino
# on most linuxes this will be /dev/ttyACM0 or /dev/ttyACM1 # on most linuxes this will be /dev/ttyACM0 or /dev/ttyACM1
UPLOAD_PORT ?= /dev/ttyUSB0 UPLOAD_PORT ?= /dev/ttyUSB0
#Directory used to build files in, contains all the build files, from object files to the final hex file #Directory used to build files in, contains all the build files, from object files to the final hex file

@ -845,7 +845,7 @@
* Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered, * Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered,
* then decrease current by CURRENT_STEP until temperature prewarn is cleared. * then decrease current by CURRENT_STEP until temperature prewarn is cleared.
* Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX * Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX
*/ */
//#define AUTOMATIC_CURRENT_CONTROL //#define AUTOMATIC_CURRENT_CONTROL
#define CURRENT_STEP 50 // [mA] #define CURRENT_STEP 50 // [mA]
#define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak #define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak
@ -1060,7 +1060,7 @@
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter. * with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
* *
* M200 D0 to disable, M200 Dn to set a new diameter. * M200 D0 to disable, M200 Dn to set a new diameter.
*/ */
//#define VOLUMETRIC_DEFAULT_ON //#define VOLUMETRIC_DEFAULT_ON
/** /**

@ -845,7 +845,7 @@
* Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered, * Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered,
* then decrease current by CURRENT_STEP until temperature prewarn is cleared. * then decrease current by CURRENT_STEP until temperature prewarn is cleared.
* Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX * Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX
*/ */
//#define AUTOMATIC_CURRENT_CONTROL //#define AUTOMATIC_CURRENT_CONTROL
#define CURRENT_STEP 50 // [mA] #define CURRENT_STEP 50 // [mA]
#define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak #define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak
@ -1060,7 +1060,7 @@
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter. * with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
* *
* M200 D0 to disable, M200 Dn to set a new diameter. * M200 D0 to disable, M200 Dn to set a new diameter.
*/ */
//#define VOLUMETRIC_DEFAULT_ON //#define VOLUMETRIC_DEFAULT_ON
/** /**

@ -845,7 +845,7 @@
* Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered, * Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered,
* then decrease current by CURRENT_STEP until temperature prewarn is cleared. * then decrease current by CURRENT_STEP until temperature prewarn is cleared.
* Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX * Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX
*/ */
//#define AUTOMATIC_CURRENT_CONTROL //#define AUTOMATIC_CURRENT_CONTROL
#define CURRENT_STEP 50 // [mA] #define CURRENT_STEP 50 // [mA]
#define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak #define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak
@ -1060,7 +1060,7 @@
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter. * with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
* *
* M200 D0 to disable, M200 Dn to set a new diameter. * M200 D0 to disable, M200 Dn to set a new diameter.
*/ */
//#define VOLUMETRIC_DEFAULT_ON //#define VOLUMETRIC_DEFAULT_ON
/** /**

@ -828,7 +828,7 @@
* Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered, * Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered,
* then decrease current by CURRENT_STEP until temperature prewarn is cleared. * then decrease current by CURRENT_STEP until temperature prewarn is cleared.
* Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX * Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX
*/ */
//#define AUTOMATIC_CURRENT_CONTROL //#define AUTOMATIC_CURRENT_CONTROL
#define CURRENT_STEP 50 // [mA] #define CURRENT_STEP 50 // [mA]
#define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak #define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak
@ -1043,7 +1043,7 @@
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter. * with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
* *
* M200 D0 to disable, M200 Dn to set a new diameter. * M200 D0 to disable, M200 Dn to set a new diameter.
*/ */
//#define VOLUMETRIC_DEFAULT_ON //#define VOLUMETRIC_DEFAULT_ON
/** /**

@ -858,7 +858,7 @@
* Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered, * Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered,
* then decrease current by CURRENT_STEP until temperature prewarn is cleared. * then decrease current by CURRENT_STEP until temperature prewarn is cleared.
* Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX * Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX
*/ */
//#define AUTOMATIC_CURRENT_CONTROL //#define AUTOMATIC_CURRENT_CONTROL
#define CURRENT_STEP 50 // [mA] #define CURRENT_STEP 50 // [mA]
#define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak #define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak
@ -1073,7 +1073,7 @@
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter. * with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
* *
* M200 D0 to disable, M200 Dn to set a new diameter. * M200 D0 to disable, M200 Dn to set a new diameter.
*/ */
//#define VOLUMETRIC_DEFAULT_ON //#define VOLUMETRIC_DEFAULT_ON
/** /**

@ -845,7 +845,7 @@
* Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered, * Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered,
* then decrease current by CURRENT_STEP until temperature prewarn is cleared. * then decrease current by CURRENT_STEP until temperature prewarn is cleared.
* Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX * Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX
*/ */
//#define AUTOMATIC_CURRENT_CONTROL //#define AUTOMATIC_CURRENT_CONTROL
#define CURRENT_STEP 50 // [mA] #define CURRENT_STEP 50 // [mA]
#define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak #define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak
@ -1060,7 +1060,7 @@
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter. * with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
* *
* M200 D0 to disable, M200 Dn to set a new diameter. * M200 D0 to disable, M200 Dn to set a new diameter.
*/ */
//#define VOLUMETRIC_DEFAULT_ON //#define VOLUMETRIC_DEFAULT_ON
/** /**

@ -845,7 +845,7 @@
* Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered, * Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered,
* then decrease current by CURRENT_STEP until temperature prewarn is cleared. * then decrease current by CURRENT_STEP until temperature prewarn is cleared.
* Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX * Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX
*/ */
//#define AUTOMATIC_CURRENT_CONTROL //#define AUTOMATIC_CURRENT_CONTROL
#define CURRENT_STEP 50 // [mA] #define CURRENT_STEP 50 // [mA]
#define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak #define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak
@ -1060,7 +1060,7 @@
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter. * with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
* *
* M200 D0 to disable, M200 Dn to set a new diameter. * M200 D0 to disable, M200 Dn to set a new diameter.
*/ */
//#define VOLUMETRIC_DEFAULT_ON //#define VOLUMETRIC_DEFAULT_ON
/** /**

@ -845,7 +845,7 @@
* Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered, * Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered,
* then decrease current by CURRENT_STEP until temperature prewarn is cleared. * then decrease current by CURRENT_STEP until temperature prewarn is cleared.
* Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX * Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX
*/ */
//#define AUTOMATIC_CURRENT_CONTROL //#define AUTOMATIC_CURRENT_CONTROL
#define CURRENT_STEP 50 // [mA] #define CURRENT_STEP 50 // [mA]
#define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak #define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak
@ -1060,7 +1060,7 @@
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter. * with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
* *
* M200 D0 to disable, M200 Dn to set a new diameter. * M200 D0 to disable, M200 Dn to set a new diameter.
*/ */
//#define VOLUMETRIC_DEFAULT_ON //#define VOLUMETRIC_DEFAULT_ON
/** /**

@ -853,7 +853,7 @@
* Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered, * Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered,
* then decrease current by CURRENT_STEP until temperature prewarn is cleared. * then decrease current by CURRENT_STEP until temperature prewarn is cleared.
* Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX * Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX
*/ */
//#define AUTOMATIC_CURRENT_CONTROL //#define AUTOMATIC_CURRENT_CONTROL
#define CURRENT_STEP 50 // [mA] #define CURRENT_STEP 50 // [mA]
#define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak #define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak
@ -1068,7 +1068,7 @@
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter. * with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
* *
* M200 D0 to disable, M200 Dn to set a new diameter. * M200 D0 to disable, M200 Dn to set a new diameter.
*/ */
//#define VOLUMETRIC_DEFAULT_ON //#define VOLUMETRIC_DEFAULT_ON
/** /**

@ -845,7 +845,7 @@
* Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered, * Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered,
* then decrease current by CURRENT_STEP until temperature prewarn is cleared. * then decrease current by CURRENT_STEP until temperature prewarn is cleared.
* Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX * Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX
*/ */
//#define AUTOMATIC_CURRENT_CONTROL //#define AUTOMATIC_CURRENT_CONTROL
#define CURRENT_STEP 50 // [mA] #define CURRENT_STEP 50 // [mA]
#define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak #define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak
@ -1060,7 +1060,7 @@
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter. * with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
* *
* M200 D0 to disable, M200 Dn to set a new diameter. * M200 D0 to disable, M200 Dn to set a new diameter.
*/ */
//#define VOLUMETRIC_DEFAULT_ON //#define VOLUMETRIC_DEFAULT_ON
/** /**

@ -850,7 +850,7 @@
* Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered, * Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered,
* then decrease current by CURRENT_STEP until temperature prewarn is cleared. * then decrease current by CURRENT_STEP until temperature prewarn is cleared.
* Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX * Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX
*/ */
//#define AUTOMATIC_CURRENT_CONTROL //#define AUTOMATIC_CURRENT_CONTROL
#define CURRENT_STEP 50 // [mA] #define CURRENT_STEP 50 // [mA]
#define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak #define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak
@ -1065,7 +1065,7 @@
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter. * with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
* *
* M200 D0 to disable, M200 Dn to set a new diameter. * M200 D0 to disable, M200 Dn to set a new diameter.
*/ */
//#define VOLUMETRIC_DEFAULT_ON //#define VOLUMETRIC_DEFAULT_ON
/** /**

@ -847,7 +847,7 @@
* Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered, * Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered,
* then decrease current by CURRENT_STEP until temperature prewarn is cleared. * then decrease current by CURRENT_STEP until temperature prewarn is cleared.
* Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX * Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX
*/ */
//#define AUTOMATIC_CURRENT_CONTROL //#define AUTOMATIC_CURRENT_CONTROL
#define CURRENT_STEP 50 // [mA] #define CURRENT_STEP 50 // [mA]
#define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak #define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak
@ -1062,7 +1062,7 @@
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter. * with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
* *
* M200 D0 to disable, M200 Dn to set a new diameter. * M200 D0 to disable, M200 Dn to set a new diameter.
*/ */
//#define VOLUMETRIC_DEFAULT_ON //#define VOLUMETRIC_DEFAULT_ON
/** /**

@ -847,7 +847,7 @@
* Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered, * Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered,
* then decrease current by CURRENT_STEP until temperature prewarn is cleared. * then decrease current by CURRENT_STEP until temperature prewarn is cleared.
* Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX * Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX
*/ */
//#define AUTOMATIC_CURRENT_CONTROL //#define AUTOMATIC_CURRENT_CONTROL
#define CURRENT_STEP 50 // [mA] #define CURRENT_STEP 50 // [mA]
#define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak #define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak
@ -1062,7 +1062,7 @@
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter. * with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
* *
* M200 D0 to disable, M200 Dn to set a new diameter. * M200 D0 to disable, M200 Dn to set a new diameter.
*/ */
//#define VOLUMETRIC_DEFAULT_ON //#define VOLUMETRIC_DEFAULT_ON
/** /**

@ -852,7 +852,7 @@
* Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered, * Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered,
* then decrease current by CURRENT_STEP until temperature prewarn is cleared. * then decrease current by CURRENT_STEP until temperature prewarn is cleared.
* Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX * Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX
*/ */
//#define AUTOMATIC_CURRENT_CONTROL //#define AUTOMATIC_CURRENT_CONTROL
#define CURRENT_STEP 50 // [mA] #define CURRENT_STEP 50 // [mA]
#define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak #define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak
@ -1067,7 +1067,7 @@
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter. * with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
* *
* M200 D0 to disable, M200 Dn to set a new diameter. * M200 D0 to disable, M200 Dn to set a new diameter.
*/ */
//#define VOLUMETRIC_DEFAULT_ON //#define VOLUMETRIC_DEFAULT_ON
/** /**

@ -847,7 +847,7 @@
* Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered, * Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered,
* then decrease current by CURRENT_STEP until temperature prewarn is cleared. * then decrease current by CURRENT_STEP until temperature prewarn is cleared.
* Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX * Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX
*/ */
//#define AUTOMATIC_CURRENT_CONTROL //#define AUTOMATIC_CURRENT_CONTROL
#define CURRENT_STEP 50 // [mA] #define CURRENT_STEP 50 // [mA]
#define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak #define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak
@ -1062,7 +1062,7 @@
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter. * with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
* *
* M200 D0 to disable, M200 Dn to set a new diameter. * M200 D0 to disable, M200 Dn to set a new diameter.
*/ */
//#define VOLUMETRIC_DEFAULT_ON //#define VOLUMETRIC_DEFAULT_ON
/** /**

@ -845,7 +845,7 @@
* Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered, * Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered,
* then decrease current by CURRENT_STEP until temperature prewarn is cleared. * then decrease current by CURRENT_STEP until temperature prewarn is cleared.
* Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX * Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX
*/ */
//#define AUTOMATIC_CURRENT_CONTROL //#define AUTOMATIC_CURRENT_CONTROL
#define CURRENT_STEP 50 // [mA] #define CURRENT_STEP 50 // [mA]
#define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak #define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak
@ -1060,7 +1060,7 @@
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter. * with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
* *
* M200 D0 to disable, M200 Dn to set a new diameter. * M200 D0 to disable, M200 Dn to set a new diameter.
*/ */
//#define VOLUMETRIC_DEFAULT_ON //#define VOLUMETRIC_DEFAULT_ON
/** /**

@ -845,7 +845,7 @@
* Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered, * Increase current every 5s by CURRENT_STEP until stepper temperature prewarn gets triggered,
* then decrease current by CURRENT_STEP until temperature prewarn is cleared. * then decrease current by CURRENT_STEP until temperature prewarn is cleared.
* Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX * Adjusting starts from X/Y/Z/E_MAX_CURRENT but will not increase over AUTO_ADJUST_MAX
*/ */
//#define AUTOMATIC_CURRENT_CONTROL //#define AUTOMATIC_CURRENT_CONTROL
#define CURRENT_STEP 50 // [mA] #define CURRENT_STEP 50 // [mA]
#define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak #define AUTO_ADJUST_MAX 1300 // [mA], 1300mA_rms = 1840mA_peak
@ -1060,7 +1060,7 @@
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter. * with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
* *
* M200 D0 to disable, M200 Dn to set a new diameter. * M200 D0 to disable, M200 Dn to set a new diameter.
*/ */
//#define VOLUMETRIC_DEFAULT_ON //#define VOLUMETRIC_DEFAULT_ON
/** /**

@ -19,7 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
// //
// some of the pin mapping functions of the Teensduino extension to the Arduino IDE // some of the pin mapping functions of the Teensduino extension to the Arduino IDE
// do not function the same as the other Arduino extensions // do not function the same as the other Arduino extensions

@ -64,7 +64,7 @@
mcp4728_setVref_all(DAC_STEPPER_VREF); mcp4728_setVref_all(DAC_STEPPER_VREF);
mcp4728_setGain_all(DAC_STEPPER_GAIN); mcp4728_setGain_all(DAC_STEPPER_GAIN);
if (mcp4728_getDrvPct(0) < 1 || mcp4728_getDrvPct(1) < 1 || mcp4728_getDrvPct(2) < 1 || mcp4728_getDrvPct(3) < 1 ) { if (mcp4728_getDrvPct(0) < 1 || mcp4728_getDrvPct(1) < 1 || mcp4728_getDrvPct(2) < 1 || mcp4728_getDrvPct(3) < 1 ) {
mcp4728_setDrvPct(dac_channel_pct); mcp4728_setDrvPct(dac_channel_pct);
mcp4728_eepromWrite(); mcp4728_eepromWrite();

@ -1491,7 +1491,7 @@ void Temperature::isr() {
// at the end of its run, potentially causing re-entry. This flag prevents it. // at the end of its run, potentially causing re-entry. This flag prevents it.
if (in_temp_isr) return; if (in_temp_isr) return;
in_temp_isr = true; in_temp_isr = true;
// Allow UART and stepper ISRs // Allow UART and stepper ISRs
CBI(TIMSK0, OCIE0B); //Disable Temperature ISR CBI(TIMSK0, OCIE0B); //Disable Temperature ISR
sei(); sei();

Loading…
Cancel
Save