Frank 8 anni fa
parent
commit
451c0c769e
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      synth_dc.h

+ 2
- 2
synth_dc.h Vedi File

@@ -33,8 +33,8 @@
// handling 32 bit interger overflow at every step
// without resorting to slow 64 bit math
#if defined(KINETISK)
static inline int32_t substract_32_then_divide(int32_t a, int32_t b, int32_t c) __attribute__((always_inline, unused));
static inline int32_t substract_32_then_divide(int32_t a, int32_t b, int32_t c)
static inline int32_t substract_int32_then_divide_int32(int32_t a, int32_t b, int32_t c) __attribute__((always_inline, unused));
static inline int32_t substract_int32_then_divide_int32(int32_t a, int32_t b, int32_t c)
{
int r;
r = substract_32_saturate(a,b);

Loading…
Annulla
Salva