Skip to content

Commit e99c43b

Browse files
authored
fix method name spelling (#2057)
1 parent 482dd59 commit e99c43b

File tree

1 file changed

+3
-1
lines changed
  • src/rp2_common/hardware_interp/include/hardware

1 file changed

+3
-1
lines changed

src/rp2_common/hardware_interp/include/hardware/interp.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,9 +438,11 @@ static inline uint32_t interp_peek_full_result(interp_hw_t *interp) {
438438
* \param lane The lane number, 0 or 1
439439
* \param val Value to add
440440
*/
441-
static inline void interp_add_accumulater(interp_hw_t *interp, uint lane, uint32_t val) {
441+
static inline void interp_add_accumulator(interp_hw_t *interp, uint lane, uint32_t val) {
442442
interp->add_raw[lane] = val;
443443
}
444+
// backwards incompatibility with old incorrect spelling
445+
#define interp_add_accumulater(interp, lane, val) interp_add_accumulator(interp, lane, val)
444446

445447
/*! \brief Get raw lane value
446448
* \ingroup hardware_interp

0 commit comments

Comments
 (0)