diff --git a/map65/libm65/gen_q65_wave.f90 b/map65/libm65/gen_q65_wave.f90 index 08f84ab20..bd91c8ddb 100644 --- a/map65/libm65/gen_q65_wave.f90 +++ b/map65/libm65/gen_q65_wave.f90 @@ -36,7 +36,7 @@ subroutine gen_q65_wave(msg,ntxfreq,mode65,msgsent,iwave,nwave) j0=0 do i=1,iz t=t+dt - j=t/tsym + j=t/tsym + 1.0 if(j.ne.j0) then f=f0 + itone(j)*dfgen dphi=twopi*dt*f