Skip to content

Commit c49f4bc

Browse files
committed
gnss: add a comment about the units
1 parent fc8908b commit c49f4bc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

shared-bindings/gnss/GNSS.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include "py/runtime.h"
3232

3333
//| class GNSS:
34-
//| """Get updated positioning information from GNSS
34+
//| """Get updated positioning information from Global Navigation Satellite System (GNSS)
3535
//|
3636
//| Usage::
3737
//|
@@ -155,7 +155,7 @@ STATIC mp_obj_t gnss_obj_update(mp_obj_t self_in) {
155155
MP_DEFINE_CONST_FUN_OBJ_1(gnss_update_obj, gnss_obj_update);
156156

157157
//| latitude: Any = ...
158-
//| """Latitude of current position."""
158+
//| """Latitude of current position in degrees (float)."""
159159
//|
160160
STATIC mp_obj_t gnss_obj_get_latitude(mp_obj_t self_in) {
161161
gnss_obj_t *self = MP_OBJ_TO_PTR(self_in);
@@ -172,7 +172,7 @@ const mp_obj_property_t gnss_latitude_obj = {
172172
};
173173

174174
//| longitude: Any = ...
175-
//| """Longitude of current position."""
175+
//| """Longitude of current position in degrees (float)."""
176176
//|
177177
STATIC mp_obj_t gnss_obj_get_longitude(mp_obj_t self_in) {
178178
gnss_obj_t *self = MP_OBJ_TO_PTR(self_in);
@@ -189,7 +189,7 @@ const mp_obj_property_t gnss_longitude_obj = {
189189
};
190190

191191
//| altitude: Any = ...
192-
//| """Altitude of current position."""
192+
//| """Altitude of current position in degrees (float)."""
193193
//|
194194
STATIC mp_obj_t gnss_obj_get_altitude(mp_obj_t self_in) {
195195
gnss_obj_t *self = MP_OBJ_TO_PTR(self_in);

0 commit comments

Comments
 (0)