Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This fixes the following warning: | ../../../git/std_blocks/ramp/ramp.c: In function 'ramp_init': | ../../../git/std_blocks/ramp/ramp.c:47:25: error: using floating point absolute value function 'fabs' when argument is of integer type 'uint16_t' {aka 'short unsigned int'} [-Werror=absolute-value] | 47 | inf->slope = ((double) fabs(inf->slope) > 10e-6) ? inf->slope : 1; | | ^~~~ Signed-off-by: Markus Klotzbuecher <mk@mkio.de>
- Loading branch information