Browse Source

AP_HAL: add support for hw random number generation

gps-1.3.1
Siddharth Purohit 4 years ago committed by Andrew Tridgell
parent
commit
2b93b17fae
  1. 3
      libraries/AP_HAL/Util.h

3
libraries/AP_HAL/Util.h

@ -182,6 +182,9 @@ public:
// request information on uart I/O // request information on uart I/O
virtual void uart_info(ExpandingString &str) {} virtual void uart_info(ExpandingString &str) {}
// generate Random values
virtual bool get_random_vals(uint8_t* data, size_t size) { return false; }
protected: protected:
// we start soft_armed false, so that actuators don't send any // we start soft_armed false, so that actuators don't send any
// values until the vehicle code has fully started // values until the vehicle code has fully started

Loading…
Cancel
Save