mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Update subghz GPS dir finder & thread logic
also a few other finishing touches
This commit is contained in:
@@ -30,10 +30,37 @@ typedef struct {
|
||||
uint8_t fix_hour;
|
||||
} SubGhzGPS;
|
||||
|
||||
/**
|
||||
* Initialize SubGhzGPS object
|
||||
*
|
||||
* @return SubGhzGPS* SubGhzGPS object
|
||||
*/
|
||||
SubGhzGPS* subghz_gps_init();
|
||||
|
||||
/**
|
||||
* Deinitialize SubGhzGPS object
|
||||
*
|
||||
* @param subghz_gps SubGhzGPS object
|
||||
* @return void
|
||||
*/
|
||||
void subghz_gps_deinit(SubGhzGPS* subghz_gps);
|
||||
|
||||
/**
|
||||
* Start GPS thread
|
||||
*
|
||||
* @param subghz_gps SubGhzGPS object
|
||||
* @return void
|
||||
*/
|
||||
void subghz_gps_start(SubGhzGPS* subghz_gps);
|
||||
|
||||
/**
|
||||
* Stop GPS thread
|
||||
*
|
||||
* @param subghz_gps SubGhzGPS object
|
||||
* @return void
|
||||
*/
|
||||
void subghz_gps_stop(SubGhzGPS* subghz_gps);
|
||||
|
||||
/**
|
||||
* Convert degree to radian
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user