AP_GPS: Add missing const in member functions

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
Patrick José Pereira 2021-02-01 13:26:28 -03:00 committed by Andrew Tridgell
parent aa55578008
commit 2e75425a2a

View File

@ -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;
}