mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-19 23:15:05 +00:00
Cleanup
This commit is contained in:
parent
5071c390d4
commit
deb3c85466
@ -24,8 +24,6 @@ extern const AppManifest manifest;
|
|||||||
|
|
||||||
class GpsSettingsApp final : public App {
|
class GpsSettingsApp final : public App {
|
||||||
|
|
||||||
private:
|
|
||||||
|
|
||||||
std::unique_ptr<Timer> timer;
|
std::unique_ptr<Timer> timer;
|
||||||
std::shared_ptr<GpsSettingsApp*> appReference = std::make_shared<GpsSettingsApp*>(this);
|
std::shared_ptr<GpsSettingsApp*> appReference = std::make_shared<GpsSettingsApp*>(this);
|
||||||
lv_obj_t* statusWrapper = nullptr;
|
lv_obj_t* statusWrapper = nullptr;
|
||||||
@ -96,7 +94,7 @@ private:
|
|||||||
memcpy(&index, &index_as_voidptr, sizeof(int));
|
memcpy(&index, &index_as_voidptr, sizeof(int));
|
||||||
|
|
||||||
std::vector<tt::hal::gps::GpsConfiguration> configurations;
|
std::vector<tt::hal::gps::GpsConfiguration> configurations;
|
||||||
auto gps_service = tt::service::gps::findGpsService();
|
auto gps_service = service::gps::findGpsService();
|
||||||
if (gps_service && gps_service->getGpsConfigurations(configurations)) {
|
if (gps_service && gps_service->getGpsConfigurations(configurations)) {
|
||||||
TT_LOG_I(TAG, "Found service and configs %d %d", index, configurations.size());
|
TT_LOG_I(TAG, "Found service and configs %d %d", index, configurations.size());
|
||||||
if (index <= configurations.size()) {
|
if (index <= configurations.size()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user