mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2025-05-19 10:32:56 +00:00
fixed NULL pointer warning
warning: passing NULL to non-pointer argument 2 of 'uint32_t Preferences::getUInt(const char*, uint32_t)' [-Wconversion-null]
This commit is contained in:
parent
3ecc9e33c0
commit
df54c04d21
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ void setup()
|
|||
// Default IP as defined in standard https://art-net.org.uk/downloads/art-net.pdf, page 13
|
||||
IPAddress ip = config.getUInt("ip", DEFAULT_IP);
|
||||
IPAddress subnet = config.getUInt("subnet", DEFAULT_SUBNET);
|
||||
IPAddress gateway = config.getUInt("gateway", NULL);
|
||||
IPAddress gateway = config.getUInt("gateway", 0);
|
||||
|
||||
config.end();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue