Removed #define for unknown_str

Debugging #define is very difficult. The performance overhead of static const
char is negligible.
This commit is contained in:
Aaron Marcher committed 2017-08-12 13:27:30 +02:00
1 parent be12b6b350
commit c4779c9b15
2 files changed
+70 -70

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@
static const int update_interval = 1;
/* text to show if no value can be retrieved */
#define UNKNOWN_STR "n/a"
static const char unknown_str[] = "n/a";
/* maximum output string length */
#define MAXLEN 2048