AP_HAL_Empty: SPIDevice: implement fullduplex transfer

This commit is contained in:
Lucas De Marchi 2016-07-22 01:49:27 -03:00
parent 01452bf922
commit 9fda608d4a
1 changed files with 7 additions and 0 deletions

View File

@ -49,6 +49,13 @@ public:
return true;
}
/* See AP_HAL::SPIDevice::transfer_fullduplex() */
bool transfer_fullduplex(const uint8_t *send, uint8_t *recv,
uint32_t len) override
{
return true;
}
/* See AP_HAL::Device::get_semaphore() */
AP_HAL::Semaphore *get_semaphore()
{