Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
Revision 150:f676c14793fc, committed 2021-01-17
- Comitter:
- andrewboyson
- Date:
- Sun Jan 17 18:24:37 2021 +0000
- Parent:
- 149:24365666d28d
- Child:
- 151:10db7ff62b82
- Commit message:
- Tidied the Firmware upload message to warn the user (me) against restarting before the file has been saved ok.
Changed in this revision
--- a/base/firmware/web-firmware-script.inc Sun Jan 17 17:48:09 2021 +0000
+++ b/base/firmware/web-firmware-script.inc Sun Jan 17 18:24:37 2021 +0000
@@ -24,7 +24,9 @@
"}\n"
"function xhrUploadProgress(e)\n"
"{\n"
-" logUpload('Uploading ' + e.total + ' bytes; ' + e.loaded + ' bytes so far...');\n"
+" logUpload('Total ' + e.total + ' bytes\\r\\n' +\n"
+" 'Sent ' + e.loaded + ' bytes\\r\\n' +\n"
+" 'Don\\'t restart yet, wait for the ok...');\n"
"}\n"
"function xhrUploadStart()\n"
"{\n"
--- a/base/firmware/web-firmware-script.js Sun Jan 17 17:48:09 2021 +0000
+++ b/base/firmware/web-firmware-script.js Sun Jan 17 18:24:37 2021 +0000
@@ -24,7 +24,9 @@
}
function xhrUploadProgress(e)
{
- logUpload('Uploading ' + e.total + ' bytes; ' + e.loaded + ' bytes so far...');
+ logUpload('Total ' + e.total + ' bytes\r\n' +
+ 'Sent ' + e.loaded + ' bytes\r\n' +
+ 'Don\'t restart yet, wait for the ok...');
}
function xhrUploadStart()
{