From f76b2ad01f435efb33cc91c29e803804adc58b56 Mon Sep 17 00:00:00 2001 From: n0m1s Date: Sat, 11 Jan 2020 21:52:25 +0100 Subject: [PATCH] changed NULL to nullptr --- settings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.cpp b/settings.cpp index 1757daf..7c0f6e9 100644 --- a/settings.cpp +++ b/settings.cpp @@ -35,11 +35,11 @@ void Settings::add_line(char const* section, char const* key, char const* val) Settings const* Settings::load(char const* settings_filename) { if(!SD.begin(D8)) - return NULL; + return nullptr; File file = SD.open("settings.ini", FILE_READ); if(!file) - return NULL; + return nullptr; Settings* settings = new Settings();