mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-25 17:23:56 -04:00
HAL_Empty: added bulk SPI transfer() method
This commit is contained in:
parent
b5b7fd2f9a
commit
3dc0a990a1
@ -29,6 +29,10 @@ uint8_t EmptySPIDeviceDriver::transfer (uint8_t data)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void EmptySPIDeviceDriver::transfer (const uint8_t *data, uint16_t len)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
EmptySPIDeviceManager::EmptySPIDeviceManager()
|
EmptySPIDeviceManager::EmptySPIDeviceManager()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@ public:
|
|||||||
void cs_assert();
|
void cs_assert();
|
||||||
void cs_release();
|
void cs_release();
|
||||||
uint8_t transfer (uint8_t data);
|
uint8_t transfer (uint8_t data);
|
||||||
|
void transfer (const uint8_t *data, uint16_t len);
|
||||||
private:
|
private:
|
||||||
EmptySemaphore _semaphore;
|
EmptySemaphore _semaphore;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user