From 4446f419576fc73860dc91003d1bcf2b144fd474 Mon Sep 17 00:00:00 2001 From: Adam Wonak Date: Sun, 25 May 2025 15:31:58 -0700 Subject: [PATCH] formatting --- examples/clock_mod/clock_mod.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/clock_mod/clock_mod.ino b/examples/clock_mod/clock_mod.ino index 12bc07b..728f66c 100644 --- a/examples/clock_mod/clock_mod.ino +++ b/examples/clock_mod/clock_mod.ino @@ -188,7 +188,7 @@ void HandleRotate(Direction dir, int val) { break; } uint32_t mod_pulses = clock_mod_pulses[ch->clock_mod_index]; - ch->duty_cycle_pulses = max( (int)( (mod_pulses * (100L - ch->duty_cycle)) / 100L ), 1 ); + ch->duty_cycle_pulses = max((int)((mod_pulses * (100L - ch->duty_cycle)) / 100L), 1); ch->offset_pulses = (int)(mod_pulses * (100L - ch->offset) / 100L); app.refresh_screen = true;