HAL_PX4: removed unused devname field in SPIDevice

This commit is contained in:
Andrew Tridgell 2016-11-06 21:51:53 +11:00
parent 05769640d1
commit 8bca8545a2
1 changed files with 0 additions and 2 deletions

View File

@ -41,11 +41,9 @@ struct SPIDesc {
: name(_name), bus(_bus), device(_device), mode(_mode),
lowspeed(_lowspeed), highspeed(_highspeed)
{
snprintf(devname, sizeof(devname), "/dev/%s", name);
}
const char *name;
char devname[20];
uint8_t bus;
enum spi_dev_e device;
enum spi_mode_e mode;