Various fixes for compiler warnings
add BLTouch-related messages in english and (rusty) french; add missing endstops.h in ultralcd.cpp; fix misc. compiler warnings; fix lsf_reset - ZERO macro can't handle a pointer as it would only memset the size of the pointer, not the size of the entire struct
This commit is contained in:
@@ -41,7 +41,9 @@
|
||||
|
||||
#include "least_squares_fit.h"
|
||||
|
||||
void incremental_LSF_reset(struct linear_fit_data *lsf) { ZERO(lsf); }
|
||||
void incremental_LSF_reset(struct linear_fit_data *lsf) {
|
||||
memset(lsf, 0, sizeof(linear_fit_data));
|
||||
}
|
||||
|
||||
void incremental_LSF(struct linear_fit_data *lsf, float x, float y, float z) {
|
||||
lsf->xbar += x;
|
||||
|
Reference in New Issue
Block a user