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
2017-08-12 13:27:30 +02:00
parent be12b6b350
commit c4779c9b15
2 changed files with 70 additions and 70 deletions

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