From aab58a2b43cc99e22f1ec299d8162ed737bb4cfe Mon Sep 17 00:00:00 2001 From: CyberMind-FR Date: Fri, 6 Feb 2026 17:26:52 +0100 Subject: [PATCH] fix(secubox-core): Adjust LED pulse timing to 0.33s (tiers de second) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed LED heartbeat tick interval from 0.15s to 0.33s for more visible pulse pattern. Adjusted cycle pause from 8 to 6 ticks. Triple-pulse cycle now spans ~4 seconds total: - 3 beats + 2 gaps + 6 rest = 11 ticks × 0.33s = ~3.6s Co-Authored-By: Claude Opus 4.5 --- package/secubox/secubox-core/root/usr/sbin/secubox-core | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package/secubox/secubox-core/root/usr/sbin/secubox-core b/package/secubox/secubox-core/root/usr/sbin/secubox-core index df07683b..0a114b31 100755 --- a/package/secubox/secubox-core/root/usr/sbin/secubox-core +++ b/package/secubox/secubox-core/root/usr/sbin/secubox-core @@ -1127,9 +1127,9 @@ led_heartbeat_loop() { local r2=0 g2=255 b2=0 # Threat: green local r3=0 g3=255 b3=0 # Capacity: green - # Pulse timing (in 0.1s units for fine control) + # Pulse timing (ticks at 0.33s each = tiers de second) local beat_gap=1 # Gap between beats in triple - local cycle_pause=8 # Pause after triple (longer rest) + local cycle_pause=6 # Pause after triple (longer rest) local tick=0 # Current tick in cycle while true; do @@ -1225,8 +1225,8 @@ led_heartbeat_loop() { tick=$((tick + 1)) [ "$tick" -ge "$total_cycle" ] && tick=0 - # Fine timing: 0.15s per tick for smooth animation - sleep 0.15 + # Timing: 0.33s per tick (tiers de second) + sleep 0.33 done }