Răsfoiți Sursa

Move UART prompt to start of setup before long-running installs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
tuanchris 4 luni în urmă
părinte
comite
42f40da22d
1 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  1. 3 1
      setup-pi.sh

+ 3 - 1
setup-pi.sh

@@ -497,6 +497,9 @@ main() {
     echo "Install directory: $INSTALL_DIR"
     echo ""
 
+    # Ask connection type upfront (before long-running installs)
+    configure_uart
+
     # Run setup steps
     check_raspberry_pi
     install_system_deps
@@ -513,7 +516,6 @@ main() {
         setup_autohotspot
     fi
 
-    configure_uart
     install_lgpio
     deploy_native
     install_cli