mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-18 08:51:45 -08:00
Fix bug on amcgen1rampmodefrequency
Copied from Perforce Change: 19801 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
318139cd48
commit
fb66fe64bf
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/* impl.c.testlib: Test library
|
||||
*
|
||||
* $HopeName: MMsrc!testlib.c(trunk.10) $
|
||||
* $HopeName: MMsrc!testlib.c(trunk.11) $
|
||||
* Copyright (C) 1995, 1998 Harlequin Group plc. All rights reserved.
|
||||
*
|
||||
* .purpose: A library of functions that may be of use to unit tests.
|
||||
|
|
@ -77,7 +77,7 @@ void adjust_collection_freq(double multiplier)
|
|||
if(AMCGen0RampmodeFrequency == 0)
|
||||
AMCGen0RampmodeFrequency = 1;
|
||||
multFREQ(AMCGen1RampmodeFrequency, multiplier);
|
||||
if(AMCGen1RampmodeFrequency == AMCGen0RampmodeFrequency)
|
||||
if(AMCGen1RampmodeFrequency <= AMCGen0RampmodeFrequency)
|
||||
AMCGen1RampmodeFrequency = AMCGen0RampmodeFrequency + 1;
|
||||
multFREQ(AMCRampGenFrequency, multiplier);
|
||||
assert(AMCRampGenFollows == 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue