Skip to content

Commit

Permalink
Fix/firmware flashing (#212)
Browse files Browse the repository at this point in the history
* reset speed after exiting from orbit

* added documentation for non-blocking orbit limitations

* Use Python3 print statements. Needed for DexterOS
  • Loading branch information
CleoQc committed Nov 8, 2018
1 parent 06a4f97 commit 124bb03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Firmware/gopigo3_flash_firmware.sh
Expand Up @@ -9,7 +9,7 @@ FIRMWARE_FILE=$(sudo find "$REPO_PATH"/Firmware/ -maxdepth 1 -name *.bin)
echo "Updating the GoPiGo3 Firmware with '$FIRMWARE_FILE'."

# check the RPi version
RPI_VERSION=$(python -c "import auto_detect_rpi; print auto_detect_rpi.getRPIGenerationCode()")
RPI_VERSION=$(python3 -c "import auto_detect_rpi; print (auto_detect_rpi.getRPIGenerationCode())")
# set default to RPi 1 interface config file
INTERFACE_FILE="rpi1.cfg"
if [ "$RPI_VERSION" == "RPI2" ] || [ "$RPI_VERSION" == "RPI3" ] || [ "$RPI_VERSION" == "RPI3B+" ]; then
Expand Down

0 comments on commit 124bb03

Please sign in to comment.