This commit is contained in:
2023-08-21 12:09:14 +02:00
parent 0c42089303
commit d7bdd3508f
2 changed files with 2 additions and 2 deletions

View File

@ -1106,7 +1106,7 @@ export class UserAPI {
*/
const period = 1 / freq;
const t = (Date.now() / 1000 + offset) % period;
return t / period < dutyCycle ? 1 : -1;
return t / period < duty ? 1 : -1;
};
usquare = (