Skip to content

Commit

Permalink
sx1301: Update multitech_mtac_lora_h_915 SPI path.
Browse files Browse the repository at this point in the history
The SPI path has been updated since the mPower 6.x firmware, but this
change was not applied to this config (it was fixed for _868).

Closes: #167.
  • Loading branch information
brocaar committed Aug 30, 2024
1 parent 980948c commit 170d0db
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ pub fn new(conf: &config::Configuration) -> Result<Configuration> {
false => Gps::None,
},
spidev_path: match port {
Port::AP1 => "/dev/spidev32766.2".to_string(),
Port::AP2 => "/dev/spidev32765.2".to_string(),
Port::AP1 => "/dev/spidev0.2".to_string(),
Port::AP2 => "/dev/spidev1.2".to_string(),
},
..Default::default()
})
Expand Down

0 comments on commit 170d0db

Please sign in to comment.