13
0

-Wabsolute-value fix

This commit is contained in:
Robin Gareus 2015-07-15 23:52:05 +02:00
parent 9bf381db0a
commit 6dbe10dcfd

View File

@ -562,7 +562,7 @@ LTC_Slave::speed_and_position (double& speed, framepos_t& pos)
speed = 1.0;
}
if (speed != 0 && delayedlocked == 0 && fabsf(speed) != 1.0) {
if (speed != 0 && delayedlocked == 0 && fabs(speed) != 1.0) {
sync_lock_broken = true;
DEBUG_TRACE (DEBUG::LTC, string_compose ("LTC speed not locked %1 %2\n", speed, ltc_speed));
}