Skip to content

Commit def779b

Browse files
committed
emlearn_iir_q15: Try other way to avoid memset on RISC-V
1 parent 52ed3cf commit def779b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/emlearn_iir_q15/iir_filter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
// memset is used by some standard C constructs. Missing on some platforms, but not all...
99
// Unfortunately cannot use weak symbols with mpy_ld
10-
#if !(defined(__linux__) || defined(__riscv__))
10+
#if !(defined(__linux__) || defined(__riscv__) || defined(__riscv))
1111
void *memcpy(void *dst, const void *src, size_t n) {
1212
return mp_fun_table.memmove_(dst, src, n);
1313
}

0 commit comments

Comments
 (0)