use a static buffer instead of dynamic memory
This commit is contained in:
parent
abbaa7af44
commit
597cdc6b5c
2 changed files with 204 additions and 242 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue