diff options
Diffstat (limited to 'error_utils.c')
-rw-r--r-- | error_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/error_utils.c b/error_utils.c index bf6168d..0db61fc 100644 --- a/error_utils.c +++ b/error_utils.c @@ -1410,7 +1410,7 @@ int Error_check(ChannelStruct ChannelStateToTest[max_channels]) if (globals.Flash.switchable_zout[i] && (ChannelStateToTest[i].zout==globals.Flash.zout_max[i]) && (globals.Flash.switchable_zout_max_duty[i] > 0.0) && - (duty_cycle > (globals.Flash.switchable_zout_max_duty[i] * 100.0 / duty_scale))) { + (duty_cycle > (1.001 * (globals.Flash.switchable_zout_max_duty[i] * 100.0 / duty_scale)))) { // can only operate at min Zout at high duty cycles, due to attenuator limits check_another_max_value_int (globals.Flash.zout_min[i], &globals.Constraints.err_max_zout[i], ChannelStateToTest[i].zout, max_zout_duty_error, &report_error); } |