Skip to content

Commit

Permalink
Change cdev from rp1-gpiomem to gpiomem0
Browse files Browse the repository at this point in the history
  • Loading branch information
golemparts committed Oct 13, 2023
1 parent d0d352b commit e0578f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpio/gpiomem/rp1.rs
Expand Up @@ -14,7 +14,7 @@ use crate::system::{DeviceInfo, SoC};

use super::GpioRegisters;

const PATH_DEV_GPIOMEM: &str = "/dev/rp1-gpiomem";
const PATH_DEV_GPIOMEM: &str = "/dev/gpiomem0";

// Each register contains 32 bits
const REG_SIZE: usize = std::mem::size_of::<u32>();
Expand Down

0 comments on commit e0578f3

Please sign in to comment.