mirror of https://github.com/ArduPilot/ardupilot
HAL_PX4: removed unused devname field in SPIDevice
This commit is contained in:
parent
05769640d1
commit
8bca8545a2
|
@ -41,11 +41,9 @@ struct SPIDesc {
|
||||||
: name(_name), bus(_bus), device(_device), mode(_mode),
|
: name(_name), bus(_bus), device(_device), mode(_mode),
|
||||||
lowspeed(_lowspeed), highspeed(_highspeed)
|
lowspeed(_lowspeed), highspeed(_highspeed)
|
||||||
{
|
{
|
||||||
snprintf(devname, sizeof(devname), "/dev/%s", name);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *name;
|
const char *name;
|
||||||
char devname[20];
|
|
||||||
uint8_t bus;
|
uint8_t bus;
|
||||||
enum spi_dev_e device;
|
enum spi_dev_e device;
|
||||||
enum spi_mode_e mode;
|
enum spi_mode_e mode;
|
||||||
|
|
Loading…
Reference in New Issue