From 2285a585453402069185403f48f5de37586348e2 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Wed, 15 Jun 2022 19:41:06 +0800
Subject: [PATCH] update pinloop script
---
bsp/rootfs/files/expand_rootfs | 2 +-
bsp/rootfs/files/pinloop.sh | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/bsp/rootfs/files/expand_rootfs b/bsp/rootfs/files/expand_rootfs
index 1ffc9f7..f466123 100755
--- a/bsp/rootfs/files/expand_rootfs
+++ b/bsp/rootfs/files/expand_rootfs
@@ -32,6 +32,6 @@
w
EOF
-resize2fs /dev/$ROOT_PART > /dev/null 2>&1
+resize2fs /dev/$ROOT_PART > /dev/null 2>&1
echo "Expand rootfs size successfully, it will be enlarged upon the next reboot."
diff --git a/bsp/rootfs/files/pinloop.sh b/bsp/rootfs/files/pinloop.sh
index 6f5ec9f..dbfdc5b 100755
--- a/bsp/rootfs/files/pinloop.sh
+++ b/bsp/rootfs/files/pinloop.sh
@@ -6,7 +6,7 @@
if [[ $# != 3 ]] ; then
echo "ERROR: Invalid input arguments"
return 1;
- fi
+ fi
level=$3
pinctrl $1 $level
@@ -25,7 +25,7 @@
if [[ $# != 2 ]] ; then
echo ""
echo "Usage : $0 Pin1 Pin2"
- echo "Example: $0 GPIO01_IO10 GPIO01_IO11"
+ echo "Example: $0 GPIO1_IO10 GPIO1_IO11"
echo ""
echo "You can check pinmap by 'pinctrl -v' "
echo ""
--
Gitblit v1.9.1