[BUG:Control:Light_Power] shifted Light cycle breaks fading #44

Open
opened 2025-04-25 01:05:37 +02:00 by DeltaLima · 1 comment
Owner

When e.g. light cycle starts 6:00 and ends 01:00, then fading out the light breaks. Propably fading in would also break when fading for example starts 23:45 and should be finished 0:15.

When e.g. light cycle starts 6:00 and ends 01:00, then fading out the light breaks. Propably fading in would also break when fading for example starts 23:45 and should be finished 0:15.
Author
Owner

byte Light_Power(byte id, unsigned int sunriseSec, unsigned int sunsetSec, unsigned int nowSec, bool shifted) {

where the bug lives

https://git.la10cy.net/DeltaLima/CanGrow/src/commit/0c27fb6163e97a9f14858bc447064a678e92c6c4/include/CanGrow_Control.h#L37 where the bug lives
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DeltaLima/CanGrow#44
No description provided.