Removed #define for update interval

Debugging #define, especially in mathematical constructs is very
difficult. The performance overhead of static const int is negligible.
This commit is contained in:
Aaron Marcher
2017-08-12 13:06:24 +02:00
parent 0c2ee7df91
commit be12b6b350
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
/* See LICENSE file for copyright and license details. */
/* how often to update the statusbar (min value == 1) */
#define UPDATE_INTERVAL 1
static const int update_interval = 1;
/* text to show if no value can be retrieved */
#define UNKNOWN_STR "n/a"