Skip to content

Commit

Permalink
Fixed sunrise/set calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
Aircoookie committed Mar 19, 2022
1 parent d280e16 commit 9c9854b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

### Builds after release 0.13.1

#### Build 2203191

- Fixed sunrise/set calculation (once again)

#### Build 2203190

- Fixed `/json/cfg` unable to set busses (#2589)
Expand Down
2 changes: 1 addition & 1 deletion wled00/wled.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

// version code in format yymmddb (b = daily build)
#define VERSION 2203190
#define VERSION 2203191

//uncomment this if you have a "my_config.h" file you'd like to use
//#define WLED_USE_MY_CONFIG
Expand Down
1 change: 1 addition & 0 deletions wled00/wled_math.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
float cos_t(float phi)
{
float x = modd(phi, TWO_PI);
if (x < 0) x = -1 * x;
int8_t sign = 1;
if (x > PI)
{
Expand Down

0 comments on commit 9c9854b

Please sign in to comment.