diff --git a/firmware.sh b/firmware.sh index 05938c6..bcd1669 100644 --- a/firmware.sh +++ b/firmware.sh @@ -542,7 +542,7 @@ the touchpad firmware, otherwise the touchpad will not work." if [[ $? -eq 0 ]]; then # flash TP firmware echo_green "Flashing touchpad firmware -- do not touch the touchpad while updating!" - ${flashromcmd} -p ec:type=tp -i EC_RW -w ${touchpad_eve_fw} -o /tmp/flashrom.log >/dev/null 2>&1 + ${flashromcmd#${flashrom_params}} -p ec:type=tp -i EC_RW -w ${touchpad_eve_fw} -o /tmp/flashrom.log >/dev/null 2>&1 if [ $? -eq 0 ]; then echo_green "Touchpad firmware successfully downgraded." echo_yellow "Please reboot your Pixelbook now."