Skip to content

Commit e5f7adc

Browse files
authored
Fix to pass mpy-cross build
1 parent 14799f9 commit e5f7adc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

py/mpz.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,9 @@ STATIC size_t mpn_mul(mpz_dig_t *idig, mpz_dig_t *jdig, size_t jlen, mpz_dig_t *
445445

446446
ilen = id - oidig;
447447
// check to prevent usb starvation
448+
#ifdef RUN_BACKGROUND_TASKS
448449
RUN_BACKGROUND_TASKS;
450+
#endif
449451
}
450452

451453
return ilen;

0 commit comments

Comments
 (0)