[Horus] Simulator refactoring. This one should be nice :)

This commit is contained in:
Bertrand Songis
2015-10-24 19:47:44 +02:00
parent 6f774eb61a
commit 0673663427
24 changed files with 863 additions and 1006 deletions
@@ -559,7 +559,12 @@ void OpenTxSimulator::getTrims(Trims & trims)
void OpenTxSimulator::wheelEvent(int steps)
{
#if defined(REV9E)
#if defined(PCBHORUS) || defined(PCBFLAMENCO)
if (steps > 0)
rotencValue -= 2;
else
rotencValue += 2;
#elif defined(REV9E)
if (steps == 255)
rotencValue -= 2;
else