Added ping pong mode (with minor errors).
This commit is contained in:
committed by
s.aydarov
parent
20c25767bd
commit
7861a6d207
@@ -71,7 +71,7 @@ private:
|
||||
{
|
||||
if(_Num < 0)
|
||||
{
|
||||
return (_Max - _Num) % _Max;
|
||||
return (_Max + _Num % _Max);
|
||||
}
|
||||
if(_Num >= _Max)
|
||||
{
|
||||
@@ -133,6 +133,7 @@ private:
|
||||
return (upButtonHold - downButtonHold);
|
||||
}
|
||||
|
||||
//TODO: FIX BUG HERE: display is not updated.
|
||||
void ProcessRun()
|
||||
{
|
||||
ProcessChangeMode();
|
||||
|
||||
Reference in New Issue
Block a user