summaryrefslogtreecommitdiffstats
path: root/keyboards/claw44/lib/timelogger.c
diff options
context:
space:
mode:
authoryfuku <30647434+yfuku@users.noreply.github.com>2020-11-10 14:07:12 +0900
committerGitHub <noreply@github.com>2020-11-10 16:07:12 +1100
commit7595f538562437fa6d13ede5be7a5a4b5d582c6b (patch)
tree8649d7399f8f5c5699a7a07cb85a38840d73cf3c /keyboards/claw44/lib/timelogger.c
parent8af767cb1d36222a4d0ec8286d346d4896e923d4 (diff)
refactor SPLIT_KEYBOARD, OLED_DRIVER_ENABLE (#10405)
Diffstat (limited to 'keyboards/claw44/lib/timelogger.c')
-rw-r--r--keyboards/claw44/lib/timelogger.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/keyboards/claw44/lib/timelogger.c b/keyboards/claw44/lib/timelogger.c
deleted file mode 100644
index ecd4ed3ea8..0000000000
--- a/keyboards/claw44/lib/timelogger.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <stdio.h>
-#include "claw44.h"
-
-char timelog_str[24] = {};
-int last_time = 0;
-int elapsed_time = 0;
-
-void set_timelog(void) {
- elapsed_time = timer_elapsed(last_time);
- last_time = timer_read();
- snprintf(timelog_str, sizeof(timelog_str), "lt:%5d, et:%5d", last_time, elapsed_time);
-}
-
-const char *read_timelog(void) {
- return timelog_str;
-}