Skip to content

Commit bfe8739

Browse files
committed
Misordering resulting from merge fixed.
1 parent 37cebc1 commit bfe8739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/Schedule.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ bool IRAM_ATTR schedule_function_us(std::function<bool(void)>&& fn, uint32_t rep
3131
scheduled_fn_t item;
3232
item.mFunc = std::move(fn);
3333
if (repeat_us) item.callNow.reset(repeat_us);
34-
return schedule_queue.push(std::move(item));
3534
item.policy = policy;
35+
return schedule_queue.push(std::move(item));
3636
}
3737

3838
bool IRAM_ATTR schedule_function_us(const std::function<bool(void)>& fn, uint32_t repeat_us, schedule_e policy)

0 commit comments

Comments
 (0)