From 5f945cda9b515e91bfcb0327316c176926157f4d Mon Sep 17 00:00:00 2001 From: n0m1s Date: Sat, 11 Jan 2020 21:49:36 +0100 Subject: [PATCH] changed NULL to nullptr --- lamp.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lamp.ino b/lamp.ino index 7e8ed8f..7072988 100644 --- a/lamp.ino +++ b/lamp.ino @@ -1,6 +1,6 @@ #include "settings.h" -Settings const* settings = NULL; +Settings const* settings = nullptr; bool ok = true; @@ -10,7 +10,7 @@ void setup() { Serial.print("\nLoading settings..."); settings = Settings::load("settings.ini"); - if(settings == NULL) + if(settings == nullptr) { Serial.println(" NOT OK"); ok = false;