8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff0b3a9 commit bf1329bCopy full SHA for bf1329b
supervisor/shared/reload.c
@@ -80,7 +80,7 @@ inline bool autoreload_is_enabled() {
80
}
81
82
void autoreload_trigger() {
83
- if (autoreload_enabled) {
+ if (autoreload_enabled & !autoreload_suspended) {
84
last_autoreload_trigger = supervisor_ticks_ms32();
85
// Guard against the rare time that ticks is 0;
86
if (last_autoreload_trigger == 0) {
supervisor/shared/usb/usb_msc_flash.c
@@ -216,8 +216,8 @@ void tud_msc_write10_complete_cb(uint8_t lun) {
216
(void)lun;
217
218
// This write is complete; initiate an autoreload.
219
- autoreload_trigger();
220
autoreload_resume(AUTORELOAD_SUSPEND_USB);
+ autoreload_trigger();
221
222
223
// Invoked when received SCSI_CMD_INQUIRY
0 commit comments