@@ -2893,11 +2893,9 @@ SARA_R5_error_t SARA_R5::gpsPower(bool enable, gnss_system_t gnss_sys, gnss_aidi
2893
2893
return err;
2894
2894
}
2895
2895
2896
+ /*
2896
2897
SARA_R5_error_t SARA_R5::gpsEnableClock(bool enable)
2897
2898
{
2898
- // enable is unused at the moment but could be used if this function is ever implemented.
2899
- bool ignoreMe = enable; ignoreMe |= false ; // Avoid the pesky compiler warning.
2900
-
2901
2899
// AT+UGZDA=<0,1>
2902
2900
SARA_R5_error_t err = SARA_R5_ERROR_SUCCESS;
2903
2901
return err;
@@ -2912,9 +2910,6 @@ SARA_R5_error_t SARA_R5::gpsGetClock(struct ClockData *clock)
2912
2910
2913
2911
SARA_R5_error_t SARA_R5::gpsEnableFix(bool enable)
2914
2912
{
2915
- // enable is unused at the moment but could be used if this function is ever implemented.
2916
- bool ignoreMe = enable; ignoreMe |= false ; // Avoid the pesky compiler warning.
2917
-
2918
2913
// AT+UGGGA=<0,1>
2919
2914
SARA_R5_error_t err = SARA_R5_ERROR_SUCCESS;
2920
2915
return err;
@@ -2929,9 +2924,6 @@ SARA_R5_error_t SARA_R5::gpsGetFix(struct PositionData *pos)
2929
2924
2930
2925
SARA_R5_error_t SARA_R5::gpsEnablePos(bool enable)
2931
2926
{
2932
- // enable is unused at the moment but could be used if this function is ever implemented.
2933
- bool ignoreMe = enable; ignoreMe |= false ; // Avoid the pesky compiler warning.
2934
-
2935
2927
// AT+UGGLL=<0,1>
2936
2928
SARA_R5_error_t err = SARA_R5_ERROR_SUCCESS;
2937
2929
return err;
@@ -2946,9 +2938,6 @@ SARA_R5_error_t SARA_R5::gpsGetPos(struct PositionData *pos)
2946
2938
2947
2939
SARA_R5_error_t SARA_R5::gpsEnableSat(bool enable)
2948
2940
{
2949
- // enable is unused at the moment but could be used if this function is ever implemented.
2950
- bool ignoreMe = enable; ignoreMe |= false ; // Avoid the pesky compiler warning.
2951
-
2952
2941
// AT+UGGSV=<0,1>
2953
2942
SARA_R5_error_t err = SARA_R5_ERROR_SUCCESS;
2954
2943
return err;
@@ -2960,6 +2949,7 @@ SARA_R5_error_t SARA_R5::gpsGetSat(uint8_t *sats)
2960
2949
SARA_R5_error_t err = SARA_R5_ERROR_SUCCESS;
2961
2950
return err;
2962
2951
}
2952
+ */
2963
2953
2964
2954
SARA_R5_error_t SARA_R5::gpsEnableRmc (bool enable)
2965
2955
{
@@ -3029,11 +3019,9 @@ SARA_R5_error_t SARA_R5::gpsGetRmc(struct PositionData *pos, struct SpeedData *s
3029
3019
return err;
3030
3020
}
3031
3021
3022
+ /*
3032
3023
SARA_R5_error_t SARA_R5::gpsEnableSpeed(bool enable)
3033
3024
{
3034
- // enable is unused at the moment but could be used if this function is ever implemented.
3035
- bool ignoreMe = enable; ignoreMe |= false ; // Avoid the pesky compiler warning.
3036
-
3037
3025
// AT+UGVTG=<0,1>
3038
3026
SARA_R5_error_t err = SARA_R5_ERROR_SUCCESS;
3039
3027
return err;
@@ -3045,6 +3033,7 @@ SARA_R5_error_t SARA_R5::gpsGetSpeed(struct SpeedData *speed)
3045
3033
SARA_R5_error_t err = SARA_R5_ERROR_SUCCESS;
3046
3034
return err;
3047
3035
}
3036
+ */
3048
3037
3049
3038
SARA_R5_error_t SARA_R5::gpsRequest (unsigned int timeout, uint32_t accuracy,
3050
3039
bool detailed)
0 commit comments