Slow Down / Slow Up was 30 seconds long instead of 7.5 seconds (thanks Gabriel again!)
This commit is contained in:
+2
-2
@@ -1855,8 +1855,8 @@ void perOut()
|
|||||||
int32_t rate = (int32_t)DEL_MULT*2048*100;
|
int32_t rate = (int32_t)DEL_MULT*2048*100;
|
||||||
if(md->weight) rate /= abs(md->weight);
|
if(md->weight) rate /= abs(md->weight);
|
||||||
|
|
||||||
act[i] = (diff>0) ? ((md->speedUp>0) ? act[i]+(rate)/((int16_t)200*md->speedUp) : (int32_t)v*DEL_MULT) :
|
act[i] = (diff>0) ? ((md->speedUp>0) ? act[i]+(rate)/((int16_t)50*md->speedUp) : (int32_t)v*DEL_MULT) :
|
||||||
((md->speedDown>0) ? act[i]-(rate)/((int16_t)200*md->speedDown) : (int32_t)v*DEL_MULT) ;
|
((md->speedDown>0) ? act[i]-(rate)/((int16_t)50*md->speedDown) : (int32_t)v*DEL_MULT) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user