From c8a57e4f46e9a3ba452f396bf562ec797e043bdd Mon Sep 17 00:00:00 2001 From: 0scar Date: Sat, 28 Dec 2024 21:23:11 +0100 Subject: Align array of structures --- status.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'status.c') diff --git a/status.c b/status.c index 90ec3d3..aadc632 100644 --- a/status.c +++ b/status.c @@ -227,10 +227,11 @@ get_net_link_status(char* buf) { } static struct element statusbar[] = { + /* Add status elements here */ - {.f = get_net_link_status, .fire_interval = {5, 0}, .fire_previous = {0}, .buf = {0}}, - {.f = get_all_bat_status, .fire_interval = {60, 0}, .fire_previous = {0}, .buf = {0}}, - {.f = date, .fire_interval = {2, 500000}, .fire_previous = {0}, .buf = {0}}, + {get_net_link_status, {5, 0}, {0}, {0}}, + { get_all_bat_status, {60, 0}, {0}, {0}}, + { date, {2, 500000}, {0}, {0}}, }; -- cgit v1.3