Commit 3653c5b0 authored by MagoKimbra's avatar MagoKimbra

Same fix

parent 078e021e
...@@ -353,7 +353,7 @@ unsigned long printer_usage_seconds; ...@@ -353,7 +353,7 @@ unsigned long printer_usage_seconds;
#endif // FWRETRACT #endif // FWRETRACT
#if ENABLED(ULTIPANEL) && HAS(POWER_SWITCH) #if (ENABLED(ULTIPANEL) || ENABLED(NEXTION)) && HAS(POWER_SWITCH)
bool powersupply = bool powersupply =
#if ENABLED(PS_DEFAULT_OFF) #if ENABLED(PS_DEFAULT_OFF)
false false
...@@ -3692,13 +3692,13 @@ inline void gcode_G28() { ...@@ -3692,13 +3692,13 @@ inline void gcode_G28() {
// raise extruder // raise extruder
float measured_z, float measured_z,
z_before = probePointCounter ? Z_RAISE_BETWEEN_PROBINGS + current_position[Z_AXIS] : Z_RAISE_BEFORE_PROBING; z_before = probePointCounter ? Z_RAISE_BETWEEN_PROBINGS + current_position[Z_AXIS] : Z_RAISE_BEFORE_PROBING + current_position[Z_AXIS];
if (debugLevel & DEBUG_INFO) { if (debugLevel & DEBUG_INFO) {
if (probePointCounter) if (probePointCounter)
ECHO_LMV(DB, "z_before = (between) ", (float)(Z_RAISE_BETWEEN_PROBINGS + current_position[Z_AXIS])); ECHO_LMV(DB, "z_before = (between) ", (float)(Z_RAISE_BETWEEN_PROBINGS + current_position[Z_AXIS]));
else else
ECHO_LMV(DB, "z_before = (before) ", (float)Z_RAISE_BEFORE_PROBING); ECHO_LMV(DB, "z_before = (before) ", (float)Z_RAISE_BEFORE_PROBING + current_position[Z_AXIS]);
} }
ProbeAction act; ProbeAction act;
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
bool PageInfo = false; bool PageInfo = false;
char buffer[100] = {0}; char buffer[100] = {0};
uint32_t slidermaxval = 20; uint32_t slidermaxval = 20;
char lcd_status_message[30] = WELCOME_MSG; // worst case is kana with up to 3*LCD_WIDTH+1 char lcd_status_message[30] = WELCOME_MSG;
uint8_t lcd_status_message_level = 0; uint8_t lcd_status_message_level = 0;
static millis_t next_lcd_update_ms; static millis_t next_lcd_update_ms;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#if ENABLED(NEXTION) #if ENABLED(NEXTION)
#define LCD_UPDATE_INTERVAL 5000 #define LCD_UPDATE_INTERVAL 5000
void ExitUpPopCallback(void *ptr); void ExitPopCallback(void *ptr);
void setpagePopCallback(void *ptr); void setpagePopCallback(void *ptr);
void hotPopCallback(void *ptr); void hotPopCallback(void *ptr);
void sethotPopCallback(void *ptr); void sethotPopCallback(void *ptr);
......
...@@ -2297,19 +2297,26 @@ ...@@ -2297,19 +2297,26 @@
#define ORIG_E2_DIR_PIN 53 #define ORIG_E2_DIR_PIN 53
#define ORIG_E2_ENABLE_PIN 49 #define ORIG_E2_ENABLE_PIN 49
#define ORIG_E3_STEP_PIN 35
#define ORIG_E3_DIR_PIN 33
#define ORIG_E3_ENABLE_PIN 37
#define ORIG_E4_STEP_PIN 29
#define ORIG_E4_DIR_PIN 27
#define ORIG_E4_ENABLE_PIN 31
#define SDPOWER -1 #define SDPOWER -1
#define SDSS 4 #define SDSS 4
#define LED_PIN -1 #define LED_PIN -1
#define BEEPER_PIN 41 #define BEEPER_PIN 41
#define ORIG_FAN_PIN -1 #define ORIG_FAN_PIN 9
#define ORIG_FAN2_PIN 8
//#define CONTROLLERORIG_FAN_PIN 8 //Pin used for the fan to cool controller
#define PS_ON_PIN 40 #define PS_ON_PIN 40
#define KILL_PIN -1 #define KILL_PIN -1
#define ORIG_HEATER_BED_PIN 7 // BED #define ORIG_HEATER_BED_PIN 7 // BED
#define ORIG_HEATER_0_PIN 13 #define ORIG_HEATER_0_PIN 13
......
This diff is collapsed.
#if ENABLED(AUTO_BED_LEVELING_GRID) #include "base.h"
#ifndef QR_SOLVE_H #if ENABLED(AUTO_BED_LEVELING_GRID)
#define QR_SOLVE_H
void daxpy ( int n, double da, double dx[], int incx, double dy[], int incy ); void daxpy(int n, double da, double dx[], int incx, double dy[], int incy);
double ddot ( int n, double dx[], int incx, double dy[], int incy ); double ddot(int n, double dx[], int incx, double dy[], int incy);
double dnrm2 ( int n, double x[], int incx ); double dnrm2(int n, double x[], int incx);
void dqrank ( double a[], int lda, int m, int n, double tol, int *kr, void dqrank(double a[], int lda, int m, int n, double tol, int* kr,
int jpvt[], double qraux[] ); int jpvt[], double qraux[]);
void dqrdc ( double a[], int lda, int n, int p, double qraux[], int jpvt[], void dqrdc(double a[], int lda, int n, int p, double qraux[], int jpvt[],
double work[], int job ); double work[], int job);
int dqrls ( double a[], int lda, int m, int n, double tol, int *kr, double b[], int dqrls(double a[], int lda, int m, int n, double tol, int* kr, double b[],
double x[], double rsd[], int jpvt[], double qraux[], int itask ); double x[], double rsd[], int jpvt[], double qraux[], int itask);
void dqrlss ( double a[], int lda, int m, int n, int kr, double b[], double x[], void dqrlss(double a[], int lda, int m, int n, int kr, double b[], double x[],
double rsd[], int jpvt[], double qraux[] ); double rsd[], int jpvt[], double qraux[]);
int dqrsl ( double a[], int lda, int n, int k, double qraux[], double y[], int dqrsl(double a[], int lda, int n, int k, double qraux[], double y[],
double qy[], double qty[], double b[], double rsd[], double ab[], int job ); double qy[], double qty[], double b[], double rsd[], double ab[], int job);
void dscal ( int n, double sa, double x[], int incx ); void dscal(int n, double sa, double x[], int incx);
void dswap ( int n, double x[], int incx, double y[], int incy ); void dswap(int n, double x[], int incx, double y[], int incy);
void qr_solve ( double x[], int m, int n, double a[], double b[] ); void qr_solve(double x[], int m, int n, double a[], double b[]);
#endif #endif
#endif
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment