X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/2236410f4582ab45ae8c384dd6eeeef5d10aab15..49884d629ca5223693a9243c59b80b9c1a14a427:/lunaix-os/hal/timer/timer_device.c?ds=inline diff --git a/lunaix-os/hal/timer/timer_device.c b/lunaix-os/hal/timer/timer_device.c index c5341be..3e47fac 100644 --- a/lunaix-os/hal/timer/timer_device.c +++ b/lunaix-os/hal/timer/timer_device.c @@ -62,5 +62,5 @@ hwtimer_init(u32_t hertz, void* tick_callback) timerdev->ops.exec_cmd = __hwtimer_ioctl; - device_register(timerdev, &hwt_ctx->class, hwt_ctx->name); + register_device(timerdev, &hwt_ctx->class, hwt_ctx->name); } \ No newline at end of file