mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-04 23:18:28 -04:00
18 lines
539 B
C++
18 lines
539 B
C++
|
|
#include "SPIDriver.h"
|
|
|
|
using namespace Empty;
|
|
|
|
EmptySPIDeviceDriver::EmptySPIDeviceDriver() {}
|
|
void EmptySPIDeviceDriver::init() {}
|
|
AP_HAL::Semaphore* EmptySPIDeviceDriver::get_semaphore() {}
|
|
void EmptySPIDeviceDriver::cs_assert() {}
|
|
void EmptySPIDeviceDriver::cs_release() {}
|
|
uint8_t EmptySPIDeviceDriver::transfer (uint8_t data) {return 0;}
|
|
|
|
EmptySPIDeviceManager::EmptySPIDeviceManager() {}
|
|
void EmptySPIDeviceManager::init(void *) {}
|
|
AP_HAL::SPIDeviceDriver* EmptySPIDeviceManager::device(enum AP_HAL::SPIDevice)
|
|
{return &_device;}
|
|
|