Removed #define for unknown_str
Debugging #define is very difficult. The performance overhead of static const char is negligible.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user