mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2025-12-17 12:24:37 +03:00
UNUSED() macro
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
#include "timer.h"
|
||||
#include "isr.h"
|
||||
#include "ports.h"
|
||||
#include "../libc/function.h"
|
||||
|
||||
u32 tick = 0;
|
||||
|
||||
static void timer_callback() {
|
||||
static void timer_callback(registers_t regs) {
|
||||
tick++;
|
||||
UNUSED(regs);
|
||||
}
|
||||
|
||||
void init_timer(u32 freq) {
|
||||
|
||||
Reference in New Issue
Block a user