Loading sdk/run.sh +0 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,6 @@ if [ "$build" = true ] ; then sudo docker build -t mi_camera_sdk . sudo docker run -it --rm -v "$PWD":/workdir mi_camera_sdk bash -c "arm-linux-gnueabihf-c++ -std=c++17 -static-libstdc++ -I src/ArduinoJson -o /workdir/$outfile $sources" #sudo docker run -it --rm -v "$PWD":/workdir mi_camera_sdk bash -c "arm-linux-gnueabihf-c++ -std=c++17 -I src/ArduinoJson -o /workdir/$outfile $sources" echo -e "\n" fi Loading sdk/telnet.exp +6 −3 Original line number Diff line number Diff line Loading @@ -29,10 +29,13 @@ send -- "chmod +x $filepath\r" expect -exact "chmod +x $filepath\r ~ # " send -- "echo -e \"\\n\\n*****\" \$(date \"+%Y-%m-%d %H:%M\") \"*****\" >>/tmp/SD0/miphoto-exec.log\r" expect -exact "echo -e \"\n\\n*****\" \$(date \"+%Y-%m-%d %H:%M\") \"*****\" >>/tmp/SD0/miphoto-exec.log\r ~ # " send -- "$filepath\r" expect -exact "$filepath\r" send -- "$filepath 2>&1 | tee -a /tmp/SD0/miphoto-exec.log\r" expect -exact "$filepath 2>&1 | tee -a /tmp/SD0/miphoto-exec.log\r ~ # " #send -- "exit\r" #expect eof Loading Loading
sdk/run.sh +0 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,6 @@ if [ "$build" = true ] ; then sudo docker build -t mi_camera_sdk . sudo docker run -it --rm -v "$PWD":/workdir mi_camera_sdk bash -c "arm-linux-gnueabihf-c++ -std=c++17 -static-libstdc++ -I src/ArduinoJson -o /workdir/$outfile $sources" #sudo docker run -it --rm -v "$PWD":/workdir mi_camera_sdk bash -c "arm-linux-gnueabihf-c++ -std=c++17 -I src/ArduinoJson -o /workdir/$outfile $sources" echo -e "\n" fi Loading
sdk/telnet.exp +6 −3 Original line number Diff line number Diff line Loading @@ -29,10 +29,13 @@ send -- "chmod +x $filepath\r" expect -exact "chmod +x $filepath\r ~ # " send -- "echo -e \"\\n\\n*****\" \$(date \"+%Y-%m-%d %H:%M\") \"*****\" >>/tmp/SD0/miphoto-exec.log\r" expect -exact "echo -e \"\n\\n*****\" \$(date \"+%Y-%m-%d %H:%M\") \"*****\" >>/tmp/SD0/miphoto-exec.log\r ~ # " send -- "$filepath\r" expect -exact "$filepath\r" send -- "$filepath 2>&1 | tee -a /tmp/SD0/miphoto-exec.log\r" expect -exact "$filepath 2>&1 | tee -a /tmp/SD0/miphoto-exec.log\r ~ # " #send -- "exit\r" #expect eof Loading