Feature on a couple of function
GiuseppePorcheddu opened this issue · comments
Is your feature request related to a problem? Please describe.
No problem, only a suggestion
Describe the solution you'd like
Returns values on a couple of functions. I added return values on :
setRPM()
setSpeedProfile()
to get back directly the current value... e.g.
MyFunction()
{
float oldRmp = setRPM(newRpm)
.... code
.... code
serRPM(oldRpm)
}
Attached the modified two files.
Describe alternatives you've considered
No one
Additional context
Add any other context or screenshots about the feature request here.
Closing this ticket because now there are getRPM()
, getSpeedProfile()
etc so this functionality is available in a more explicit way.