Browse Source
the function: virtual size_t AP_HAL::Print::write(const uint8_t *buffer, size_t size); was hidden in all derived classes by their virtual size_t write(uint8_t) = 0; implementations. To solve this, a non-virtual write(const uint8_t *, size_t) that calls a virtual write_implementation was added. This isn't necessary atm, because the derived classes don't call write(const uint8_t *, size_t), BUT this decreases the apm2-quad Program size by 40 bytes :D and removes warnings.master
2 changed files with 4 additions and 3 deletions
Loading…
Reference in new issue