X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Falgo%2Framp.c;h=8ce091da37b41460ceeda0beb7bfe27295753ad9;hb=ef1c995c81e3fde7747c041c3cd1d0a92ea8f242;hp=9a2cc92e446d7da6145811d3b123591ddb8000de;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/algo/ramp.c b/bertos/algo/ramp.c index 9a2cc92e..8ce091da 100644 --- a/bertos/algo/ramp.c +++ b/bertos/algo/ramp.c @@ -107,11 +107,6 @@ #include // memcpy() -/** - * Multiply \p a and \p b two integer at 32 bit and extract the high 16 bit word. - */ -#define FIX_MULT32(a,b) (((uint64_t)(a)*(uint32_t)(b)) >> 16) - void ramp_compute(struct Ramp *ramp, uint32_t clocksRamp, uint16_t clocksMinWL, uint16_t clocksMaxWL) { ASSERT(clocksMaxWL >= clocksMinWL);