diff --git a/include/main.h b/include/main.h index ba7a841..c0f1319 100644 --- a/include/main.h +++ b/include/main.h @@ -3,17 +3,11 @@ #include "nvs_flash.h" -#include "esp32-lora.h" +#define PUMP_COUNT (4) extern uint8_t mac[6]; -extern lora32_cfg_t lora; - -struct lorcomm_cfg { - char *hostname; - - lora32_cfg_t *lora; - nvs_handle_t nvs_handle; -} lorcomm_cfg; +static uint8_t pump_gpio_map[] = { 27, 26, 25, 23 }; +#define GPIO_PUMP_PIN_SEL ((1ULL<