Browse Source

changed NULL to nullptr

master
n0m1s 6 years ago
parent
commit
5f945cda9b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      lamp.ino

+ 2
- 2
lamp.ino View File

@ -1,6 +1,6 @@
#include "settings.h" #include "settings.h"
Settings const* settings = NULL;
Settings const* settings = nullptr;
bool ok = true; bool ok = true;
@ -10,7 +10,7 @@ void setup() {
Serial.print("\nLoading settings..."); Serial.print("\nLoading settings...");
settings = Settings::load("settings.ini"); settings = Settings::load("settings.ini");
if(settings == NULL)
if(settings == nullptr)
{ {
Serial.println(" NOT OK"); Serial.println(" NOT OK");
ok = false; ok = false;


Loading…
Cancel
Save