Skip to content

Commit 613f873

Browse files
committed
full-version string: remove useless NDEBUG in separate source file
1 parent 1dc99d6 commit 613f873

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

cores/esp8266/Esp-version.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,6 @@
88
#define STRHELPER(x) #x
99
#define STR(x) STRHELPER(x) // stringifier
1010

11-
#ifdef NDEBUG
12-
13-
String EspClass::getFullVersion()
14-
{
15-
return String();
16-
}
17-
18-
#else // !NDEBUG
19-
2011
static const char arduino_esp8266_git_ver [] PROGMEM = STR(ARDUINO_ESP8266_GIT_DESC);
2112
#if LWIP_VERSION_MAJOR != 1
2213
static const char lwip2_version [] PROGMEM = "/lwIP:" STR(LWIP_VERSION_MAJOR) "." STR(LWIP_VERSION_MINOR) "." STR(LWIP_VERSION_REVISION);
@@ -42,5 +33,3 @@ String EspClass::getFullVersion()
4233
#endif
4334
;
4435
}
45-
46-
#endif // !NDEBUG

0 commit comments

Comments
 (0)