File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ class Callback {
61
61
bool queue ();
62
62
void call ();
63
63
64
- operator bool () { return (_callback != NULL ); }
64
+ operator bool () { return (_callback != nullptr ); }
65
65
66
66
private:
67
67
void (*_callback)(void *);
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ class DirEntry
120
120
121
121
DirEntry () { _info.type = DT_UNKNOWN; }
122
122
123
- const char *name () { return (_info.type == DT_UNKNOWN) ? NULL : _info.name ; }
123
+ const char *name () { return (_info.type == DT_UNKNOWN) ? nullptr : _info.name ; }
124
124
size_t fileSize () { return (_info.type == DT_UNKNOWN) ? 0 : _info.size ; };
125
125
bool isDirectory () { return _info.type == DT_DIR; }
126
126
bool isFile () { return _info.type == DT_REG; }
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ class LoRaWANClass : public Stream
116
116
int begin (const struct LoRaWANBand &band);
117
117
118
118
int joinOTAA ();
119
- int joinOTAA (const char *appEui, const char *appKey, const char *devEui = NULL );
119
+ int joinOTAA (const char *appEui, const char *appKey, const char *devEui = nullptr );
120
120
int rejoinOTAA ();
121
121
122
122
int joinABP ();
You can’t perform that action at this time.
0 commit comments