fix: typos

TOO many typos
This commit is contained in:
2026-03-11 12:46:21 +03:00
parent 4bf23c6993
commit 821144a691
22 changed files with 165 additions and 165 deletions
+6 -6
View File
@@ -75,9 +75,9 @@ public class IlluminatorService : IDisposable
private readonly GpioPin _uv365Relay;
private readonly GpioPin _fanRelay;
public event EventHandler<double>? WhiteIntencityChanged;
public event EventHandler<double>? Uv254IntencityChanged;
public event EventHandler<double>? Uv365IntencityChanged;
public event EventHandler<double>? WhiteIntensityChanged;
public event EventHandler<double>? Uv254IntensityChanged;
public event EventHandler<double>? Uv365IntensityChanged;
public IlluminatorService(ILogger<IlluminatorService> logger, IlluminatorServiceConfiguration? configuration = null)
{
@@ -125,17 +125,17 @@ public class IlluminatorService : IDisposable
if (white is not null)
{
_whitePwm.DutyCycle = CalculateDuty(white.Value, _configuration.MaxWhitePwmDuty);
WhiteIntencityChanged?.Invoke(this, white.Value);
WhiteIntensityChanged?.Invoke(this, white.Value);
}
if (uv365 is not null)
{
_uv365Pwm.DutyCycle = CalculateDuty(uv365.Value, _configuration.MaxUv365PwmDuty);
Uv365IntencityChanged?.Invoke(this, uv365.Value);
Uv365IntensityChanged?.Invoke(this, uv365.Value);
}
if (uv254 is not null)
{
_uv254Pwm.DutyCycle = CalculateDuty(uv254.Value, _configuration.MaxUv254PwmDuty);
Uv254IntencityChanged?.Invoke(this, uv254.Value);
Uv254IntensityChanged?.Invoke(this, uv254.Value);
}
}
catch (Exception e)