Skip to content

Commit 19e8588

Browse files
authored
Merge pull request #10 from ubidefeo/main
fixed the wording in the update scripts
2 parents 8036b51 + 38f0a57 commit 19e8588

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

utilities/flash_firmware.bat

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ set /p userInput=Do you want to flash the firmware right now? (y/N):
4242
if /i "%userInput%"=="y" (
4343
python -m mpremote %port_string% run firmware_updater.py
4444
) else (
45-
echo Firmware was not flashed on the remote device.
45+
echo The firmware will not be written to the device.
4646
)
4747

4848
python -m mpremote %port_string% reset
@@ -53,4 +53,4 @@ echo Usage: %~nx0 [-p PORT] FILENAME
5353
echo Options:
5454
echo -p PORT Specify the device port
5555
echo -h Display this help message
56-
exit /b 0
56+
exit /b 0

utilities/flash_firmware.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ echo "Uploading $filename..."
6464
$python_command -m mpremote $connect_string fs rm :firmware.bin
6565
$python_command -m mpremote $connect_string fs cp $filename :firmware.bin
6666

67-
echo "Do want to flash the firmware right now? (y/N)"
67+
echo "Do you want to flash the firmware right now? (y/N)"
6868
read do_flash
6969

7070
if [ "$do_flash" == "y" ] || [ "$do_flash" == "Y" ]; then
7171
$python_command -m mpremote $connect_string run firmware_updater.py
7272
else
73-
echo "Firmware was not flashed on the remote device."
73+
echo "The firmware will not be written to the device."
7474
fi
7575

7676
$python_command -m mpremote $connect_string reset

0 commit comments

Comments
 (0)