Browse Source

AP_HAL: provide method returning approximate link bandwidth

master
Peter Barker 7 years ago committed by Peter Barker
parent
commit
f8b1203399
  1. 4
      libraries/AP_HAL/UARTDriver.h

4
libraries/AP_HAL/UARTDriver.h

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

Loading…
Cancel
Save