alvesoaj / eFLL

eFLL (Embedded Fuzzy Logic Library) is a standard library for Embedded Systems
MIT License
209 stars 91 forks source link

Rename ESP to DENOM_MINIMAL to avoid compiler warning #25

Closed rvt closed 3 years ago

rvt commented 4 years ago

With compiling with the ESP32 I am getting the following warning:

In file included from .pio/libdeps/ttg_led/eFLL/FuzzyOutput.h:18:0,
                 from .pio/libdeps/ttg_led/eFLL/Fuzzy.h:19,
                 from src/main.cpp:45:
.pio/libdeps/ttg_led/eFLL/FuzzyComposition.h:20:0: warning: "EPS" redefined
 #define EPS 1.0E-3
 ^
In file included from /.../framework-arduinoespressif32/tools/sdk/include/esp32/xtensa/xtruntime.h:30:0,

Would it be possible that we rename EPS to something like DENOM_MINIMAL (by lack of understanding what EPS means :) )?