Replace double with float, optimize calculation

This commit is contained in:
etagle authored and Scott Lahteine committed 2018-07-04 22:28:56 -05:00
1 parent d960d448fa
commit 1367df2875
38 files changed
+263 -267

No files matched your search

+1 -1
View File
@@ -103,7 +103,7 @@ void GcodeSuite::get_destination_from_command() {
destination[i] = current_position[i];
}
if (parser.linearval('F') > 0.0)
if (parser.linearval('F') > 0)
feedrate_mm_s = MMM_TO_MMS(parser.value_feedrate());
#if ENABLED(PRINTCOUNTER)