From 4a6fbecab34616a7b16a859f9458a21b339bb6b0 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sun, 2 Feb 2025 02:01:30 -0700 Subject: Have main() set `bootclock` --- libhw/rp2040_hwtimer.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libhw/rp2040_hwtimer.c') diff --git a/libhw/rp2040_hwtimer.c b/libhw/rp2040_hwtimer.c index c8c281e..6c871a3 100644 --- a/libhw/rp2040_hwtimer.c +++ b/libhw/rp2040_hwtimer.c @@ -1,6 +1,6 @@ /* libhw/rp2040_hwtimer.c - implementation for the RP2040's hardware timer * - * Copyright (C) 2024 Luke T. Shumaker + * Copyright (C) 2024-2025 Luke T. Shumaker * SPDX-License-Identifier: AGPL-3.0-or-later */ @@ -54,8 +54,6 @@ static struct rp2040_hwtimer hwtimers[] = { }; static_assert(sizeof(hwtimers)/sizeof(hwtimers[0]) == _RP2040_HWALARM_NUM); -implements_alarmclock *bootclock = &hwtimers[0]; - /* Main implementation ********************************************************/ implements_alarmclock *rp2040_hwtimer(enum rp2040_hwalarm_instance alarm_num) { -- cgit v1.2.3-2-g168b