mirror of
https://github.com/wled/WLED.git
synced 2025-07-16 23:36:35 +00:00
Real math fix
This commit is contained in:
parent
88372cd516
commit
a320f16404
@ -409,14 +409,14 @@ void clearEEPROM();
|
|||||||
float fmod_t(float num, float denom);
|
float fmod_t(float num, float denom);
|
||||||
#else
|
#else
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#define sin_t sin
|
#define sin_t sinf
|
||||||
#define cos_t cos
|
#define cos_t cosf
|
||||||
#define tan_t tan
|
#define tan_t tanf
|
||||||
#define asin_t asin
|
#define asin_t asinf
|
||||||
#define acos_t acos
|
#define acos_t acosf
|
||||||
#define atan_t atan
|
#define atan_t atanf
|
||||||
#define fmod_t fmod
|
#define fmod_t fmodf
|
||||||
#define floor_t floor
|
#define floor_t floorf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//wled_serial.cpp
|
//wled_serial.cpp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user