use a static buffer instead of dynamic memory

This commit is contained in:
Aaron Marcher committed 2017-06-13 00:06:04 +02:00
1 parent abbaa7af44
commit 597cdc6b5c
2 files changed
+204 -242

No files matched your search

+4 -1
View File
@@ -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]