diff options
Diffstat (limited to 'src/AccessoryCards/LoraCard15.cpp')
-rw-r--r-- | src/AccessoryCards/LoraCard15.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/AccessoryCards/LoraCard15.cpp b/src/AccessoryCards/LoraCard15.cpp index 3ed0f31..f71bff3 100644 --- a/src/AccessoryCards/LoraCard15.cpp +++ b/src/AccessoryCards/LoraCard15.cpp @@ -27,11 +27,11 @@ void Device::Lora15Card::AddToDeviceInfo(const std::string Port, LoraCard::AddToDeviceInfo(Port, ProductID); if (ProductID.rfind("MTCAP", 0) == 0) { - spiPath = "/dev/spidev0.0"; + spiPath = LORA_1_5_MTCAP_SPI; } else if (Port.back() == '2') { - spiPath = "/dev/spidev1.2"; + spiPath = LORA_1_5_MTCDT_SPI_AP_2; } else { - spiPath = "/dev/spidev0.2"; + spiPath = LORA_1_5_MTCDT_SPI_AP_1; } Mtac15Fpga mtac15Fpga(spiPath); |