aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2021-04-22 21:07:46 +0200
committerAndreas Grois <andi@grois.info>2021-04-22 21:52:36 +0200
commita660b6e5dd1d53bdbe9bdc5239665a647a2e2080 (patch)
tree28a95d8424ead1aca23c06c73a5e5d1367e61e21 /TODO
parent88d6813b7fdfeb9611d1803d7499323eed276929 (diff)
Fix rounding issue in clock:
Sleep a millisecond if otherwise an update would get skipped. This happens if a refresh is requested in the last millisecond before the next synchronized update is expected.
Diffstat (limited to 'TODO')
-rw-r--r--TODO4
1 files changed, 0 insertions, 4 deletions
diff --git a/TODO b/TODO
index 62b91b1..36ff903 100644
--- a/TODO
+++ b/TODO
@@ -1,7 +1,3 @@
o) Factor out lib- and plugin-loading in a way that still gives a vector of libs, but an Iterator over the plugins (so caller can choose if Vec or something else)
o) Add --plugin-help parameter that takes a list of plugins for which to display help (or if none given for all of them). This also means changing the Plugin trait once more.
o) Add --list-plugins parameter that just lists all loaded plugins.
-
-Clock:
-o) Add a corrective sleep of 1 ms if rounding errors are detected at startup or manual update. (current time + 1 ms rounds to a different update-fraction than current time)
-o) Change configuration format. Instead of directly entering seconds as a float, update rate should be "how often to update within 30 minutes" as u16. That way the _data type_ already enforces the precision limits :D