use a static buffer instead of dynamic memory
This commit is contained in:
@ -4,7 +4,10 @@
|
||||
#define UPDATE_INTERVAL 1
|
||||
|
||||
/* text to show if no value can be retrieved */
|
||||
#define UNKNOWN_STR "n/a"
|
||||
#define UNKNOWN_STR "n/a"
|
||||
|
||||
/* maximum output string length */
|
||||
#define MAXLEN 2048
|
||||
|
||||
/* statusbar
|
||||
- battery_perc (battery percentage) [argument: battery name]
|
||||
|
Reference in New Issue
Block a user