Browse Source

AP_HAL: make receive_time_constraint_us non-const

needed to use available()
master
Andrew Tridgell 7 years ago
parent
commit
b887a1e893
  1. 2
      libraries/AP_HAL/UARTDriver.h

2
libraries/AP_HAL/UARTDriver.h

@ -84,5 +84,5 @@ public: @@ -84,5 +84,5 @@ public:
A return value of zero means the HAL does not support this API
*/
virtual uint64_t receive_time_constraint_us(uint16_t nbytes) const { return 0; }
virtual uint64_t receive_time_constraint_us(uint16_t nbytes) { return 0; }
};

Loading…
Cancel
Save