diff options
Diffstat (limited to 'meta-quanta/meta-gsj/recipes-gsj/quanta-nvme-powerctrl/files')
-rw-r--r-- | meta-quanta/meta-gsj/recipes-gsj/quanta-nvme-powerctrl/files/init_once.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-quanta/meta-gsj/recipes-gsj/quanta-nvme-powerctrl/files/init_once.sh b/meta-quanta/meta-gsj/recipes-gsj/quanta-nvme-powerctrl/files/init_once.sh index 71116fbe9..08aa7a054 100644 --- a/meta-quanta/meta-gsj/recipes-gsj/quanta-nvme-powerctrl/files/init_once.sh +++ b/meta-quanta/meta-gsj/recipes-gsj/quanta-nvme-powerctrl/files/init_once.sh @@ -45,8 +45,8 @@ do CLOCK_GEN_VALUE=$(printf '0x%x\n' \ "$(($CLOCK_GEN_VALUE | 0x$update_value))") else - set_gpio_direction "${RST_BMC_U2[$1]}" "low" - set_gpio_direction "${POWER_U2[$1]}" "low" + set_gpio_direction "${RST_BMC_U2[$i]}" "low" + set_gpio_direction "${POWER_U2[$i]}" "low" CLOCK_GEN_VALUE=$(printf '0x%x\n' \ "$(($CLOCK_GEN_VALUE & ~0x$update_value))") |