zero dwell warning at zero RPM #3153

This commit is contained in:
rusefillc 2021-08-16 04:20:32 -04:00
parent 791ca789f1
commit 32a650ebe8
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ void ensureArrayIsAscending(const char* msg, const TValue (&values)[TSize]) {
for (size_t i = 0; i < TSize - 1; i++) {
auto cur = values[i];
auto next = values[i + 1];
if (next < cur) {
if (next <= cur) {
firmwareError(CUSTOM_ERR_AXIS_ORDER, "Invalid table axis (must be ascending!): %s %f %f", msg, cur, next);
}
}