From e7bcbe96a44a2e539449afceeb9bdd183c2f953a Mon Sep 17 00:00:00 2001 From: Theofanis <6011795+theofanisv@users.noreply.github.com> Date: Sun, 22 Dec 2024 21:29:48 +0200 Subject: [PATCH] fix enable_i2c.md (#36446) --- source/_includes/common-tasks/enable_i2c.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/_includes/common-tasks/enable_i2c.md b/source/_includes/common-tasks/enable_i2c.md index 8e89d4b89cd..05d91c5e3d4 100644 --- a/source/_includes/common-tasks/enable_i2c.md +++ b/source/_includes/common-tasks/enable_i2c.md @@ -54,10 +54,10 @@ You can enable I2C via this terminal: ```shell mkdir /tmp/mnt mount /dev/sda1 /tmp/mnt - mkdir -p /tmp/mnt/CONFIG/modules - echo -ne i2c-dev>/tmp/mnt/CONFIG/modules/rpi-i2c.conf - echo dtparam=i2c_vc=on >> /tmp/mnt/CONFIG/config.txt - echo dtparam=i2c_arm=on >> /tmp/mnt/CONFIG/config.txt + mkdir -p /tmp/mnt/modules + echo -ne i2c-dev>/tmp/mnt/modules/rpi-i2c.conf + echo dtparam=i2c_vc=on >> /tmp/mnt/config.txt + echo dtparam=i2c_arm=on >> /tmp/mnt/config.txt sync reboot ```