Rebase joystick task onto master

This commit is contained in:
Dominik Kotarski
2019-03-15 13:55:18 +01:00
parent acb1c44afd
commit bc7f5b3cd8
4 changed files with 14179 additions and 48032 deletions
+2 -8
View File
@@ -76,12 +76,6 @@ TaskHandle_t bleTask;
TaskHandle_t irTask;
TaskHandle_t ledsTask;
TaskHandle_t relayTask;
AconnoI2C i2c(PIN_EXP_SDA, PIN_EXP_SCL);
/**
* @brief handle for a semaphore used in fetching source of the interrupt
*
*/
SemaphoreHandle_t getInterruptSourceSemaphore;
/**
@@ -89,7 +83,7 @@ SemaphoreHandle_t getInterruptSourceSemaphore;
*/
State *pMenuState;
AconnoI2C i2c (PIN_EXP_SDA, PIN_EXP_SCL);
AconnoI2C i2c(PIN_EXP_SDA, PIN_EXP_SCL);
AconnoSPI spi(PIN_EPD_MISO, PIN_EPD_MOSI, PIN_EPD_SCK);
AconnoSAADC adc;
@@ -102,7 +96,7 @@ AconnoGPIO ld1 (PIN_LED, GPIO_DIR::GPIO_OUTPUT);
GDEP015OC1 epd(spi, PIN_EPD_CS, PIN_EPD_DC, PIN_EPD_RST, PIN_EPD_BUSY);
MCP23017 expdr(i2c, TWI_EXPANDER_ADDR, EXPDR_A_INT, GPIO_DIR::GPIO_INTERRUPT,
GPIO_PULL::OFF, GPIO_EDGE::FALLING, mainMenuInterruptCallback);
GPIO_PULL::OFF, GPIO_EDGE::FALLING, interruptCallback);
LSM9DS1 mems(i2c);
LDR light(adc, ADC_LIGHT);