update code base to Marlin 2.0.9.2
This commit is contained in:
6
Marlin/src/libs/bresenham.h
Executable file → Normal file
6
Marlin/src/libs/bresenham.h
Executable file → Normal file
@@ -16,7 +16,7 @@
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
@@ -120,11 +120,11 @@ public:
|
||||
|
||||
static void report(const uint8_t index) {
|
||||
if (index < Cfg::SIZE) {
|
||||
SERIAL_ECHOPAIR("bresenham ", int(index), " : (", dividend[index], "/", divisor, ") ");
|
||||
SERIAL_ECHOPGM("bresenham ", index, " : (", dividend[index], "/", divisor, ") ");
|
||||
if (counter[index] >= 0) SERIAL_CHAR(' ');
|
||||
if (labs(counter[index]) < 100) { SERIAL_CHAR(' '); if (labs(counter[index]) < 10) SERIAL_CHAR(' '); }
|
||||
SERIAL_ECHO(counter[index]);
|
||||
SERIAL_ECHOLNPAIR(" ... ", value[index]);
|
||||
SERIAL_ECHOLNPGM(" ... ", value[index]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user