Fixed wifi issues

This commit is contained in:
Matthias Mitscherlich
2023-01-15 13:25:42 +01:00
parent a59459cd18
commit d2167ecde3
10 changed files with 164 additions and 176 deletions
-17
View File
@@ -59,7 +59,6 @@ typedef enum
class GPIO
{
public:
<<<<<<< HEAD
GPIO(int number, GPIO_Direction_t direction);
@@ -76,23 +75,7 @@ class GPIO
GPIO_Value_t value = GPIO_VALUE_LOW;
};
=======
>>>>>>> wifi
bool GPIO(int number, GPIO_Direction_t direction);
bool GPIO_setOutput(GPIO_Value_t value);
GPIO_Value_t GPIO_getInput(void);
private:
int number;
GPIO_Direction_t direction;
GPIO_Value_t value;
};
/** @} */
+2 -2
View File
@@ -70,10 +70,10 @@ class Wifi
void start_client(void);
void event_handler(void* arg, esp_event_base_t event_base, int32_t event_id, void* event_data);
static void event_handler(void* arg, esp_event_base_t event_base, int32_t event_id, void* event_data);
private:
EventGroupHandle_t s_wifi_event_group;
};