Skip to content

Commit

Permalink
fix method name spelling (#2057)
Browse files Browse the repository at this point in the history
  • Loading branch information
kilograham authored Nov 19, 2024
1 parent 482dd59 commit e99c43b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/rp2_common/hardware_interp/include/hardware/interp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e99c43b

Please sign in to comment.