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.
Diff: main.cpp
- Revision:
- 34:e3090fc2e9a4
- Parent:
- 33:6ad0d169b154
- Child:
- 35:4a527ba7281a
diff -r 6ad0d169b154 -r e3090fc2e9a4 main.cpp
--- a/main.cpp Sun Jun 10 05:00:10 2018 +0000
+++ b/main.cpp Sun Jun 10 06:15:17 2018 +0000
@@ -814,6 +814,7 @@
printf("Automatic: %d\n\r", saved);
if(gcode_move_upload){
automatic_run(saved, false);
+ gcode_move_upload = 0;
} else {
automatic_run(saved, true);
}
@@ -865,7 +866,7 @@
emerg_recv = 1;
}
- if(recv == 'm'){
+ if(recv == 'm' && !zero){
gcode_move_upload = 1;
timeoutTime = 10.0;
upload = 1;