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

+1 -1
View File
@@ -728,7 +728,7 @@ void idle(
* Kill all activity and lock the machine.
* After this the machine will need to be reset.
*/
void kill(PGM_P const lcd_msg/*=NULL*/) {
void kill(PGM_P const lcd_msg/*=nullptr*/) {
thermalManager.disable_all_heaters();
SERIAL_ERROR_MSG(MSG_ERR_KILLED);