summaryrefslogtreecommitdiff
path: root/libhw_cr/rp2040_hwtimer.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-05-31 14:42:03 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-06-02 15:08:25 -0600
commit559627b00b74e11e394589bfcc8864b0f22d7e1b (patch)
tree45d54aca9fd5a4bb67ad55e50b71eaa6713894c0 /libhw_cr/rp2040_hwtimer.c
parentf428acdaf8c8851323391a949f0a9cbcf521adda (diff)
libmisc: obj.h: Use LM_DEFAPPEND() to implement magic LO_BOX()
Diffstat (limited to 'libhw_cr/rp2040_hwtimer.c')
-rw-r--r--libhw_cr/rp2040_hwtimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhw_cr/rp2040_hwtimer.c b/libhw_cr/rp2040_hwtimer.c
index 8227abb..d9f0a24 100644
--- a/libhw_cr/rp2040_hwtimer.c
+++ b/libhw_cr/rp2040_hwtimer.c
@@ -44,7 +44,7 @@ static_assert(sizeof(hwtimers)/sizeof(hwtimers[0]) == _RP2040_HWALARM_NUM);
lo_interface alarmclock rp2040_hwtimer(enum rp2040_hwalarm_instance alarm_num) {
assert(alarm_num < _RP2040_HWALARM_NUM);
- return lo_box_rp2040_hwtimer_as_alarmclock(&hwtimers[alarm_num]);
+ return LO_BOX(alarmclock, &hwtimers[alarm_num]);
}