Update config.txt to replace lirc-rpi with gpio-ir

The example for enabling IR transmission in `/boot/config.txt` is still using the deprecated `lirc-rpi` overlay. 
The documentation in `/boot/overlays/README` indicates that this overlay has been deprecated in favor of `gpio-ir` / `gpio-ir-tx`.

This updates the actual config.txt to suggest `gpio-ir` instead of `lirc-rpi`.
This commit is contained in:
fpicalausa 2019-09-23 15:55:54 +09:00 committed by GitHub
parent d1ed4a2982
commit 7c1ea064ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,8 +47,9 @@
#dtparam=i2s=on #dtparam=i2s=on
#dtparam=spi=on #dtparam=spi=on
# Uncomment this to enable the lirc-rpi module # Uncomment this to enable infrared communication.
#dtoverlay=lirc-rpi #dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18
# Additional overlays and parameters are documented /boot/overlays/README # Additional overlays and parameters are documented /boot/overlays/README