summaryrefslogtreecommitdiff
path: root/apps/plugins/clock/clock_counter.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/clock/clock_counter.c')
-rw-r--r--apps/plugins/clock/clock_counter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/clock/clock_counter.c b/apps/plugins/clock/clock_counter.c
index 7137eeaf38..ce29e4ce91 100644
--- a/apps/plugins/clock/clock_counter.c
+++ b/apps/plugins/clock/clock_counter.c
@@ -7,7 +7,7 @@ void counter_init(struct counter* counter){
7 counter->paused=true; 7 counter->paused=true;
8} 8}
9 9
10int counter_get_ticks_since_last_pause(struct counter* counter){ 10static int counter_get_ticks_since_last_pause(struct counter* counter){
11 if(!counter->paused) 11 if(!counter->paused)
12 return(*rb->current_tick - counter->ticks_at_last_unpause); 12 return(*rb->current_tick - counter->ticks_at_last_unpause);
13 return(0); 13 return(0);