mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
SubGHz: Rework GPS as plugin, fix VGM (#5)
- Streamlined atomic init and deinit - Load from plugin into RAM dynamically - Don't attempt load if VGM / Expansion is connected - Deduplicated some code, cleaned up some other bits
This commit is contained in:
@@ -92,16 +92,20 @@ void subghz_txrx_get_frequency_and_modulation(
|
||||
bool long_name);
|
||||
|
||||
/**
|
||||
* Get string latitude and longitude
|
||||
*
|
||||
* Get latitude value
|
||||
*
|
||||
* @param instance Pointer to a SubGhzTxRx
|
||||
* @param latitude Pointer to a string latitude
|
||||
* @param longitude Pointer to a string longitude
|
||||
* @return latitude
|
||||
*/
|
||||
void subghz_txrx_get_latitude_and_longitude(
|
||||
SubGhzTxRx* instance,
|
||||
FuriString* latitude,
|
||||
FuriString* longitude);
|
||||
float subghz_txrx_get_latitude(SubGhzTxRx* instance);
|
||||
|
||||
/**
|
||||
* Get longitude value
|
||||
*
|
||||
* @param instance Pointer to a SubGhzTxRx
|
||||
* @return longitude
|
||||
*/
|
||||
float subghz_txrx_get_longitude(SubGhzTxRx* instance);
|
||||
|
||||
/**
|
||||
* Start TX CC1101
|
||||
|
||||
Reference in New Issue
Block a user