Browse Source

A preliminary fix to reduce the amount of missing pulses considerably.

Probably not yet the final solution.
pre-master-46
Holger Vogt 3 years ago
parent
commit
678a6582f6
  1. 2
      src/xspice/icm/digital/d_pwm/cfunc.mod

2
src/xspice/icm/digital/d_pwm/cfunc.mod

@ -404,6 +404,8 @@ void cm_d_pwm(ARGS)
*t3 = T(1) + (1 - dphase)/frequency; *t3 = T(1) + (1 - dphase)/frequency;
} }
cm_analog_set_temp_bkpt(*t1);
cm_analog_set_temp_bkpt(*t3);
} }
break; break;

Loading…
Cancel
Save