FX: Usermod Temperature effect
This commit is contained in:
@@ -6483,11 +6483,6 @@ static const char _data_FX_MODE_2DWAVERLY[] PROGMEM = "Waverly@Amplification,Sen
|
||||
|
||||
#endif // WLED_DISABLE_2D
|
||||
|
||||
// float version of map()
|
||||
static float mapf(float x, float in_min, float in_max, float out_min, float out_max){
|
||||
return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min;
|
||||
}
|
||||
|
||||
// Gravity struct requited for GRAV* effects
|
||||
typedef struct Gravity {
|
||||
int topLED;
|
||||
|
||||
Reference in New Issue
Block a user