Remove redundant 1-Wire configuration
This commit is contained in:
parent
4e85e1f46a
commit
f3d415c853
|
@ -24,17 +24,13 @@ with pkgs;
|
|||
firmwareConfig = ''
|
||||
iomem=relaxed
|
||||
strict-devmem=0
|
||||
dtoverlay=w1-gpio
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
boot.kernelModules = [ "pwm_bcm2835" "w1-gpio" "w1-therm" ];
|
||||
|
||||
# Load PWM hardware timers
|
||||
hardware.raspberry-pi."4".pwm0.enable = true;
|
||||
|
||||
# Enable I2C
|
||||
hardware.raspberry-pi."4".i2c1.enable = true;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue