Yeet
This commit is contained in:
parent
254b0d19c1
commit
28d7841a8c
2 changed files with 1 additions and 2 deletions
2
system.c
2
system.c
|
@ -5,7 +5,7 @@
|
|||
volatile uint64_t ticks;
|
||||
|
||||
__attribute__((interrupt)) void sys_tick_handler(void);
|
||||
void sys_tick_handler(void) { ticks++; }
|
||||
void sys_tick_handler(void) { ticks++; }
|
||||
|
||||
uint64_t sys_ticks_get(void) { return ticks; }
|
||||
|
||||
|
|
1
system.h
1
system.h
|
@ -1,7 +1,6 @@
|
|||
#pragma once
|
||||
#include <stdint.h>
|
||||
|
||||
// void sys_tick_handler(void);
|
||||
uint64_t sys_get_ticks(void);
|
||||
void sys_tick_setup(void);
|
||||
uint64_t sys_ticks_get(void);
|
||||
|
|
Loading…
Add table
Reference in a new issue