AP_UAVCAN: 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:35 -03:00 committed by Andrew Tridgell
parent 6b2e4296db
commit 9904b397d8
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ public:
void send_esc_telemetry_mavlink(uint8_t mav_chan);
uavcan::Node<0>* get_node() { return _node; }
uint8_t get_driver_index() { return _driver_index; }
uint8_t get_driver_index() const { return _driver_index; }
///// SRV output /////