aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/diskloader/src/DiskLoader.cpp
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2011-08-27 07:00:07 -0400
committerZach Eveland <zeveland@blacklabel-development.com>2011-08-27 07:00:07 -0400
commite8b2adc36a329fa2fe7673dbc3ae372e30dba078 (patch)
tree9a97ea81c28f32533c0f374a99535a561f708cfe /bootloaders/diskloader/src/DiskLoader.cpp
parentf0ac64d2db34f297602288e756c1cfb41da22804 (diff)
bootloader ends as soon as sketch upload finishes. restored pulsing of LED while bootloader running.
Diffstat (limited to 'bootloaders/diskloader/src/DiskLoader.cpp')
-rw-r--r--bootloaders/diskloader/src/DiskLoader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootloaders/diskloader/src/DiskLoader.cpp b/bootloaders/diskloader/src/DiskLoader.cpp
index bc1e026..9ecbc4b 100644
--- a/bootloaders/diskloader/src/DiskLoader.cpp
+++ b/bootloaders/diskloader/src/DiskLoader.cpp
@@ -218,6 +218,7 @@ int main()
if (cmd == 'Q')
break;
}
+ _timeout = 1; // signal to exit the bootloader
_ejected = 1;
}
}