before radio
This commit is contained in:
parent
7a5cd2214d
commit
4057f0c503
|
|
@ -30,3 +30,8 @@
|
|||
[submodule "components/SPIFlash_LowPowerLab"]
|
||||
path = components/SPIFlash_LowPowerLab
|
||||
url = ssh://git@forgejo.galard.uk:222/Cansat/SPIFlash_LowPowerLab.git
|
||||
|
||||
|
||||
[submodule "components/drone_comms"]
|
||||
path = components/drone_comms
|
||||
url = ssh://git@forgejo.galard.uk:222/Cansat/drone_comms.git
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit cd51f646a0129401ad9449f279a4678367d4219e
|
||||
Subproject commit 240306de6ebe5ef16ab474f8862366f96b54a711
|
||||
|
|
@ -0,0 +1 @@
|
|||
Subproject commit e93d423065d1f100fbd9da05383ab555261aa6d4
|
||||
|
|
@ -33,9 +33,9 @@ void gps_poll_init() {
|
|||
extern "C" void app_main(void) {
|
||||
initArduino();
|
||||
gps = new GPS();
|
||||
gps_poll_init();
|
||||
|
||||
while (true) {
|
||||
|
||||
if (xSemaphoreTake(gps_mutex, (TickType_t)10) == pdTRUE) {
|
||||
ESP_LOGI(TAG, "loc -> lat: %f, long: %f, height: %f",
|
||||
gps->gps.latitudeDegrees, gps->gps.longitudeDegrees,
|
||||
|
|
@ -48,7 +48,6 @@ extern "C" void app_main(void) {
|
|||
}
|
||||
xSemaphoreGive(gps_mutex);
|
||||
}
|
||||
|
||||
vTaskDelay(pdMS_TO_TICKS(250));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue