From e99c43b670f0c9be88c53a77509c48fbb2d28c78 Mon Sep 17 00:00:00 2001 From: Graham Sanderson Date: Tue, 19 Nov 2024 16:14:56 -0600 Subject: [PATCH] fix method name spelling (#2057) --- src/rp2_common/hardware_interp/include/hardware/interp.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/rp2_common/hardware_interp/include/hardware/interp.h b/src/rp2_common/hardware_interp/include/hardware/interp.h index edf541c8a..634af0f46 100644 --- a/src/rp2_common/hardware_interp/include/hardware/interp.h +++ b/src/rp2_common/hardware_interp/include/hardware/interp.h @@ -438,9 +438,11 @@ static inline uint32_t interp_peek_full_result(interp_hw_t *interp) { * \param lane The lane number, 0 or 1 * \param val Value to add */ -static inline void interp_add_accumulater(interp_hw_t *interp, uint lane, uint32_t val) { +static inline void interp_add_accumulator(interp_hw_t *interp, uint lane, uint32_t val) { interp->add_raw[lane] = val; } +// backwards incompatibility with old incorrect spelling +#define interp_add_accumulater(interp, lane, val) interp_add_accumulator(interp, lane, val) /*! \brief Get raw lane value * \ingroup hardware_interp