For fuck's sake

This commit is contained in:
2025-12-25 21:28:59 +01:00
parent ce6a2b9185
commit 1e86f97113
41689 changed files with 4655 additions and 14185374 deletions

View File

@@ -151,13 +151,11 @@ static void ot_task_worker(void *aContext)
vTaskDelete(NULL);
}
#define GPS_UART_NUM UART_NUM_1
#define GPS_TX_PIN 4
#define GPS_RX_PIN 5
#define BUF_SIZE 1024
static uint8_t gps_buffer[BUF_SIZE];
void init_gps() {
const uart_config_t uart_config = {
@@ -241,8 +239,6 @@ void send_gps_data(const char* server_url, const char* json)
esp_http_client_cleanup(client);
}
// ----------------- Task: Read GPS + Send Position -----------------
void send_position_task(void *pvParameters)
{
const char* position_endpoint = "http://192.168.15.117:5000/devices/notify-position";