Fix AR9X build and add it to regular commit tests.
Note that simu still crashes on startup in the readRtc function
This commit is contained in:
@@ -95,7 +95,7 @@ void OpenTxSimulator::start(QByteArray & ee, bool tests)
|
||||
|
||||
void OpenTxSimulator::start(const char * filename, bool tests)
|
||||
{
|
||||
#if defined(PCBSKY9X) && !defined(REVX)
|
||||
#if defined(PCBSKY9X) && !defined(REVX) && !defined(AR9X)
|
||||
g_rotenc[0] = 0;
|
||||
#elif defined(PCBGRUVIN9X)
|
||||
g_rotenc[0] = 0;
|
||||
@@ -164,7 +164,7 @@ void OpenTxSimulator::wheelEvent(int steps)
|
||||
rotencValue -= 2;
|
||||
else
|
||||
rotencValue += 2;
|
||||
#elif defined(PCBSKY9X) && !defined(REVX)
|
||||
#elif defined(PCBSKY9X) && !defined(REVX) && !defined(AR9X)
|
||||
g_rotenc[0] += steps*4;
|
||||
#elif defined(PCBGRUVIN9X)
|
||||
g_rotenc[0] += steps;
|
||||
|
||||
Reference in New Issue
Block a user