Use C++ language supported 'nullptr' (#13944)

This commit is contained in:
Scott Lahteine authored and GitHub committed 2019-05-09 11:45:55 -05:00
1 parent e53d7e5517
commit ad4ffa1d2f
70 files changed
+670 -668

No files matched your search

+2 -2
View File
@@ -2132,7 +2132,7 @@ void MarlinSettings::postprocess() {
#endif
}
void MarlinSettings::load_mesh(const int8_t slot, void * const into/*=NULL*/) {
void MarlinSettings::load_mesh(const int8_t slot, void * const into/*=nullptr*/) {
#if ENABLED(AUTO_BED_LEVELING_UBL)
@@ -2545,7 +2545,7 @@ void MarlinSettings::reset() {
#if HAS_TRINAMIC
inline void say_M906(const bool forReplay) { CONFIG_ECHO_START(); SERIAL_ECHOPGM(" M906"); }
#if HAS_STEALTHCHOP
void say_M569(const char * const etc=NULL) {
void say_M569(const char * const etc=nullptr) {
SERIAL_ECHOPGM(" M569 S1");
if (etc) {
SERIAL_CHAR(' ');