Yes, your understanding is correct!+ torch_clamp = (current_ua / led->chan_count) / TORCH_IRES_UA;Please confirm if I understand correctly, we may have N flash LEDs
+ if (torch_clamp != 0)
+ torch_clamp--;
+
+ flash_data->torch_clamp = max_t(u8, flash_data->torch_clamp, torch_clamp);
connected, and this additional safety hardware can only compare any
individual LED's current draw against a single maximum value, which
we're setting here