Fix mscv warnings

Change-Id: Icb8d8bd0a756acda12b7fb392f199f9216aebd7a
This commit is contained in:
Hans-Erik Floryd
2025-07-10 11:38:59 +02:00
parent 5827f10baa
commit c40fd2c98c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ void ec_sync(int64 reftime, int64 cycletime, int64 *offsettime)
}
timeerror = -delta;
integral += timeerror;
*offsettime = (timeerror * pgain) + (integral * igain);
*offsettime = (int64)((timeerror * pgain) + (integral * igain));
}
/* RT EtherCAT thread */