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:
Arne Schwabe
2016-07-25 16:49:04 +02:00
parent bea0411071
commit fdcc60b1b9
4 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ void simuSetKey(uint8_t key, bool state)
KEY_CASE(KEY_UP, KEYS_GPIO_REG_UP, KEYS_GPIO_PIN_UP)
KEY_CASE(KEY_DOWN, KEYS_GPIO_REG_DOWN, KEYS_GPIO_PIN_DOWN)
#endif
#if defined(PCBSKY9X) && !defined(REVX)
#if defined(PCBSKY9X) && !defined(REVX) && !defined(AR9X)
KEY_CASE(BTN_REa, PIOB->PIO_PDSR, 0x40)
#elif defined(PCBGRUVIN9X) || defined(PCBMEGA2560)
KEY_CASE(BTN_REa, pind, 0x20)