Skip to content

Commit 12a5796

Browse files
committed
inline dsp ctrl functions
1 parent 93deccf commit 12a5796

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/private/mli_prv_dsp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ static inline void __attribute__ ((always_inline)) mli_prv_load_mac_vec4(
754754
*accu = _dmachbm((int32_t) mli_prv_load_2_samples(in), four8bitvalues);
755755
}
756756

757-
static unsigned __attribute__ ((always_inline)) mli_prv_init_dsp_ctrl(unsigned ctrl_info) {
757+
static inline unsigned __attribute__ ((always_inline)) mli_prv_init_dsp_ctrl(unsigned ctrl_info) {
758758
unsigned t, old = _lr(DSP_CTRL);
759759
_sr(ctrl_info, DSP_CTRL);
760760
t = _lr(DSP_CTRL);
@@ -779,7 +779,7 @@ static unsigned __attribute__ ((always_inline)) mli_prv_init_dsp_ctrl(unsigned c
779779
return old;
780780
}
781781

782-
static unsigned __attribute__ ((always_inline)) mli_prv_fx_init_dsp_ctrl() {
782+
static inline unsigned __attribute__ ((always_inline)) mli_prv_fx_init_dsp_ctrl() {
783783
unsigned mode = 0;
784784

785785
#if (defined(__Xdsp_version) && __Xdsp_version > 1) || defined(__Xdsp2)

0 commit comments

Comments
 (0)