summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/clock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/clock.c b/apps/plugins/clock.c
index 64cf8a56f1..fa910efee2 100644
--- a/apps/plugins/clock.c
+++ b/apps/plugins/clock.c
@@ -110,6 +110,9 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
110 110
111 struct tm* current_time; 111 struct tm* current_time;
112 112
113 bool exit = false;
114 bool used = false;
115
113 TEST_PLUGIN_API(api); 116 TEST_PLUGIN_API(api);
114 (void)parameter; 117 (void)parameter;
115 rb = api; 118 rb = api;
@@ -127,9 +130,6 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
127 130
128 /* start all the clock stuff */ 131 /* start all the clock stuff */
129 132
130 bool exit = false;
131 bool used = false;
132
133 /* Time info */ 133 /* Time info */
134 current_time = rb->get_time(); 134 current_time = rb->get_time();
135 hour = current_time->tm_hour; 135 hour = current_time->tm_hour;