mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 20:49:01 -04:00
Update last_cb_run after we call cb here as well
This commit is contained in:
parent
02351e1ab4
commit
fc243835c9
@ -260,8 +260,8 @@ kore_server_start(void)
|
||||
if (kore_cb != NULL && kore_cb_worker == -1) {
|
||||
now = kore_time_ms();
|
||||
if ((now - last_cb_run) >= kore_cb_interval) {
|
||||
last_cb_run = now;
|
||||
kore_cb();
|
||||
last_cb_run = now;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user