mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-10-23 21:43:28 +00:00
fix(gps): allow GPS runtime without motion hardware
This commit is contained in:
1 parent
45367642da
commit
4f74e5359b
1 file changed
+1
-6
@@ -19,7 +19,6 @@
|
||||
#include "platform/esp/arduino_common/gps/track_recorder.h"
|
||||
#include "platform/esp/arduino_common/storage/sd_card_runtime.h"
|
||||
#include "platform/esp/arduino_common/storage/storage_runtime.h"
|
||||
#include "platform/esp/arduino_common/geocaching/browse_runtime.h"
|
||||
#include "platform/esp/arduino_common/team/crypto/team_crypto.h"
|
||||
#include "platform/esp/arduino_common/team/event/team_app_data_event_bus_bridge.h"
|
||||
#include "platform/esp/arduino_common/team/event/team_event_bus_sink.h"
|
||||
@@ -278,7 +277,6 @@ app::ChatServicesBundle create_chat_services(const app::AppConfig& config,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
bundle.service = std::unique_ptr<chat::ChatService>(
|
||||
new chat::ChatService(*bundle.model, *bundle.mesh_runtime, *bundle.store, config.mesh_protocol));
|
||||
if (!bundle.service)
|
||||
@@ -297,9 +295,6 @@ app::ChatServicesBundle create_chat_services(const app::AppConfig& config,
|
||||
{
|
||||
bundle.start_deferred_storage = start_deferred_storage;
|
||||
}
|
||||
if (lora_board)
|
||||
::platform::esp::arduino_common::geocaching::browse_runtime::configure(
|
||||
*static_cast<chat::MeshAdapterRouter*>(bundle.mesh_runtime.get()), *lora_board);
|
||||
return bundle;
|
||||
}
|
||||
|
||||
@@ -397,4 +392,4 @@ app::AppContextPlatformBindings makeAppContextPlatformBindings()
|
||||
return bindings;
|
||||
}
|
||||
|
||||
} // namespace platform::esp::arduino_common
|
||||
} // namespace platform::esp::arduino_common
|
||||
Reference in new issue
Block a user