From 652780757be196ac7292a9e1d3a8182a2b6c0de2 Mon Sep 17 00:00:00 2001 From: fpicalausa Date: Mon, 23 Sep 2019 18:11:58 +0900 Subject: [PATCH] Update config.txt to replace lirc-rpi with gpio-ir (#328) 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`. --- stage1/00-boot-files/files/config.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stage1/00-boot-files/files/config.txt b/stage1/00-boot-files/files/config.txt index 578d736..548f4ac 100644 --- a/stage1/00-boot-files/files/config.txt +++ b/stage1/00-boot-files/files/config.txt @@ -47,8 +47,9 @@ #dtparam=i2s=on #dtparam=spi=on -# Uncomment this to enable the lirc-rpi module -#dtoverlay=lirc-rpi +# Uncomment this to enable infrared communication. +#dtoverlay=gpio-ir,gpio_pin=17 +#dtoverlay=gpio-ir-tx,gpio_pin=18 # Additional overlays and parameters are documented /boot/overlays/README