AP_HAL: fixed typo in do_transfer declaration

This commit is contained in:
Andrew Tridgell 2015-12-01 07:18:10 +11:00
parent 88236821c0
commit 44c280e9fb

View File

@ -42,7 +42,7 @@ public:
virtual bool do_transfer(uint8_t address, const uint8_t *send, virtual bool do_transfer(uint8_t address, const uint8_t *send,
uint32_t send_len, uint8_t *recv, uint32_t send_len, uint8_t *recv,
uint32_t recv_len) { return false;}; uint32_t recv_len) { return false;}
virtual uint8_t lockup_count() = 0; virtual uint8_t lockup_count() = 0;
void ignore_errors(bool b) { _ignore_errors = b; } void ignore_errors(bool b) { _ignore_errors = b; }
virtual AP_HAL::Semaphore* get_semaphore() = 0; virtual AP_HAL::Semaphore* get_semaphore() = 0;