mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-08-20 00:45:05 +00:00
- Added generic GPS/GNSS support with device detection, configuration, and persistent settings. - Improved device and module lifecycle management. - Added flexible filesystem locking support for displays and storage. - Improved display-idle and keyboard backlight handling. - Updated architecture, driver, module, testing, and licensing documentation. - Removed old HAL device and related code.
21 lines
776 B
C
21 lines
776 B
C
// SPDX-License-Identifier: Apache-2.0
|
|
#pragma once
|
|
|
|
/**
|
|
* @brief Reconciles the device tree against the persisted GPS configurations (see
|
|
* gps/gps_settings.h): constructs+adds (but does not start) a GPS_TYPE device for every
|
|
* configuration that doesn't have one yet, and stops+destructs+removes any ledger-owned device
|
|
* whose configuration has disappeared.
|
|
*
|
|
* Only ever touches devices the ledger itself created (tagged DEVICE_FLAG_DYNAMIC) - devicetree-
|
|
* declared GPS_TYPE devices (tagged DEVICE_FLAG_DTS) are never constructed, started, stopped, or
|
|
* destructed by the ledger.
|
|
*/
|
|
void gps_ledger_sync();
|
|
|
|
/**
|
|
* @brief Stops+destructs+removes every ledger-owned device. Devicetree-declared GPS_TYPE devices
|
|
* are left untouched.
|
|
*/
|
|
void gps_ledger_clear();
|