smith3d / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. | Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
http://marlinfw.org
GNU General Public License v3.0
95 stars 32 forks source link

Bugfix 2.0.x smith3 d warningscleanup #1

Closed NickDevoctomy closed 3 years ago

NickDevoctomy commented 3 years ago

Requirements

Description

I have made some small changes to the code to remove the compiler warnings. This included the following,

Benefits

Removes warnings from compilation (which is always a good thing), except for one relating to the usage of "auto" keyword but I have left that as it appears in other builds of Marlin that I have looked at to compare.

Potentially more stable code.

Configurations

No changes to configurations.

Related Issues

No issues found as a result of these compiler warnings, other than the warnings themselves.