From 8ecd5c51a6050898f0c7baa6684c50fdcfb00a9b Mon Sep 17 00:00:00 2001 From: Graziano Misuraca Date: Mon, 14 Sep 2026 20:51:42 -0400 Subject: [PATCH] wch: Fix clock driver --- port/wch/ch32v/src/hals/drivers.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/port/wch/ch32v/src/hals/drivers.zig b/port/wch/ch32v/src/hals/drivers.zig index cad346950..db2e27943 100644 --- a/port/wch/ch32v/src/hals/drivers.zig +++ b/port/wch/ch32v/src/hals/drivers.zig @@ -358,9 +358,9 @@ pub const ClockDevice = struct { /// /// Implementation of a `ClockDevice` that uses the HAL's `time` module. /// -pub fn clock_device() ClockDevice { +pub fn clock_device() drivers.ClockDevice { const S = struct { - const vtable: ClockDevice.VTable = .{ + const vtable: drivers.ClockDevice.VTable = .{ .get_time_since_boot = get_time_since_boot_fn, };