mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 20:20:06 +09:00
Fix typo in fan setting
This commit is contained in:
parent
954d9bf332
commit
99a8ba5c74
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
raspi-config (20201108) buster; urgency=medium
|
||||
|
||||
* Fix typo in fan controller
|
||||
|
||||
-- Simon Long <simon@raspberrypi.com> Sun, 08 Nov 2020 11:37:08 +0000
|
||||
|
||||
raspi-config (20201027) buster; urgency=medium
|
||||
|
||||
* Add function to check whether board has an analog output jack
|
||||
|
@ -1267,9 +1267,9 @@ do_fan() {
|
||||
if ! tail -1 $CONFIG | grep -q "\\[all\\]" ; then
|
||||
sed $CONFIG -i -e "\$a[all]"
|
||||
fi
|
||||
sed $CONFIG -i -e "\$adtoverlay=gpio-fan,gpio_pin=$GPIO,temp=$TEMP"
|
||||
sed $CONFIG -i -e "\$adtoverlay=gpio-fan,gpiopin=$GPIO,temp=$TEMP"
|
||||
else
|
||||
sed $CONFIG -i -e "s/^.*dtoverlay=gpio-fan.*/dtoverlay=gpio-fan,gpio_pin=$GPIO,temp=$TEMP/"
|
||||
sed $CONFIG -i -e "s/^.*dtoverlay=gpio-fan.*/dtoverlay=gpio-fan,gpiopin=$GPIO,temp=$TEMP/"
|
||||
fi
|
||||
ASK_TO_REBOOT=1
|
||||
if [ "$INTERACTIVE" = True ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user