Error: call of overloaded 'abs(float&)' is ambiguous

Hi verybody!
I’m moving my first steps into platformio. i’m using Platformio IDE on Windows 10.
with my bluepill board i’m trying to compile an example code to move a DC Motor with a Driver but when I try to build the code i get this error

iy looks like a C/C++ library error. Same error on a Linux Machine.
Here the code.
> [env:bluepill_f103c8]

    platform = ststm32
    board = bluepill_f103c8
    framework = mbed
    lib_deps =185

main.cpp : #include "Motore.h" //uses the MotCon.h library for controlling the motor po -

Can i have some help to start developing with Platformio?

Thank you!

Hi, @leouzz!
You’d beter use fabs instead of abs for floating-point number in Motore.cpp:146.


Really Thank You !!