Re: [PATCH v5 01/11] led: toggle LED on initial SW blink

2024-10-03 Thread Christian Marangi
On Thu, Oct 03, 2024 at 08:22:21AM +0200, Michael Nazzareno Trimarchi wrote: > Hi > > On Tue, Oct 1, 2024 at 2:25 PM Christian Marangi wrote: > > > > We currently init the LED OFF when SW blink is triggered when > > on_state_change() is called. This can be problematic for very short > > period as

Re: [PATCH v5 01/11] led: toggle LED on initial SW blink

2024-10-03 Thread Michael Nazzareno Trimarchi
Hi On Tue, Oct 1, 2024 at 2:25 PM Christian Marangi wrote: > > We currently init the LED OFF when SW blink is triggered when > on_state_change() is called. This can be problematic for very short > period as the ON/OFF blink might never trigger. > > Toggle the LED (ON if OFF, OFF if ON) on initial

Re: [PATCH v5 01/11] led: toggle LED on initial SW blink

2024-10-02 Thread Christian Marangi
On Wed, Oct 02, 2024 at 04:55:41PM -0600, Simon Glass wrote: > On Tue, 1 Oct 2024 at 06:25, Christian Marangi wrote: > > > > We currently init the LED OFF when SW blink is triggered when > > on_state_change() is called. This can be problematic for very short > > period as the ON/OFF blink might ne

Re: [PATCH v5 01/11] led: toggle LED on initial SW blink

2024-10-02 Thread Simon Glass
On Tue, 1 Oct 2024 at 06:25, Christian Marangi wrote: > > We currently init the LED OFF when SW blink is triggered when > on_state_change() is called. This can be problematic for very short > period as the ON/OFF blink might never trigger. > > Toggle the LED (ON if OFF, OFF if ON) on initial SW bl

[PATCH v5 01/11] led: toggle LED on initial SW blink

2024-10-01 Thread Christian Marangi
We currently init the LED OFF when SW blink is triggered when on_state_change() is called. This can be problematic for very short period as the ON/OFF blink might never trigger. Toggle the LED (ON if OFF, OFF if ON) on initial SW blink to handle this corner case and better display a LED blink from