mirror of
https://github.com/wled/WLED.git
synced 2025-04-23 14:27:18 +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);
|
||||
#else
|
||||
#include <math.h>
|
||||
#define sin_t sin
|
||||
#define cos_t cos
|
||||
#define tan_t tan
|
||||
#define asin_t asin
|
||||
#define acos_t acos
|
||||
#define atan_t atan
|
||||
#define fmod_t fmod
|
||||
#define floor_t floor
|
||||
#define sin_t sinf
|
||||
#define cos_t cosf
|
||||
#define tan_t tanf
|
||||
#define asin_t asinf
|
||||
#define acos_t acosf
|
||||
#define atan_t atanf
|
||||
#define fmod_t fmodf
|
||||
#define floor_t floorf
|
||||
#endif
|
||||
|
||||
//wled_serial.cpp
|
||||
|
Loading…
x
Reference in New Issue
Block a user