This commit is contained in:
2025-07-04 20:45:19 +03:00
parent 28965a3609
commit e6108e40b1

View File

@ -68,7 +68,7 @@ namespace DroneSimulator
uint freq = 1000 / Freq;
if (timer + freq < time)
if (timer + freq <= time)
{
result = value;
timer = time;
@ -128,7 +128,7 @@ namespace DroneSimulator
uint freq = 1000 / Freq;
if (timer + freq < time)
if (timer + freq <= time)
{
result = value;
timer = time;
@ -196,7 +196,7 @@ namespace DroneSimulator
uint freq = 1000 / Freq;
if (timer + freq < time)
if (timer + freq <= time)
{
result = value;
timer = time;
@ -260,7 +260,7 @@ namespace DroneSimulator
uint freq = 1000 / Freq;
if (timer + freq < time)
if (timer + freq <= time)
{
result = value;
timer = time;
@ -331,7 +331,7 @@ namespace DroneSimulator
uint freq = 1000 / Freq;
if (timer + freq < time)
if (timer + freq <= time)
{
result = value;
timer = time;
@ -400,7 +400,7 @@ namespace DroneSimulator
uint freq = 1000 / Freq;
if (timer + freq < time)
if (timer + freq <= time)
{
result = value;
timer = time;