diff options
Diffstat (limited to 'keyboards/crkbd/keymaps/lib/timelogger.c')
-rw-r--r-- | keyboards/crkbd/keymaps/lib/timelogger.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/keyboards/crkbd/keymaps/lib/timelogger.c b/keyboards/crkbd/keymaps/lib/timelogger.c deleted file mode 100644 index 0e22bafe7f..0000000000 --- a/keyboards/crkbd/keymaps/lib/timelogger.c +++ /dev/null @@ -1,17 +0,0 @@ -#include "crkbd.h" - -char timelog[40] = {}; -int last_time = 0; -int elapsed_time = 0; - -void set_timelog(void) -{ - elapsed_time = timer_elapsed(last_time); - last_time = timer_read(); - snprintf(timelog, sizeof(timelog), "lt:%5d, et:%5d", last_time, elapsed_time); -} - -char *read_timelog(void) -{ - return timelog; -} |