AP_GPS: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
parent
aa55578008
commit
2e75425a2a
@ -288,7 +288,7 @@ public:
|
||||
}
|
||||
|
||||
// ground speed in cm/s
|
||||
uint32_t ground_speed_cm(void) {
|
||||
uint32_t ground_speed_cm(void) const {
|
||||
return ground_speed() * 100;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user