diff options
| author | Federico Angelilli <code@fedang.net> | 2024-09-12 01:29:32 +0200 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2024-09-12 01:29:32 +0200 |
| commit | bd8dbe03ead6c73f28df517f8873675108277bf5 (patch) | |
| tree | 3a63ef377a599d7b9cddc4e2e3184f8defe29756 /src/comet.c | |
| parent | 2907d743760f74a01a77dca91c4f74ac849517b5 (diff) | |
Add effects
Diffstat (limited to 'src/comet.c')
| -rw-r--r-- | src/comet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comet.c b/src/comet.c index 6fccb3d..a539015 100644 --- a/src/comet.c +++ b/src/comet.c @@ -124,7 +124,7 @@ int main(int argc, char **argv) layout_free(&layout); timespec_get(&end, TIME_UTC); - diff = timespec_diff(timespec_diff(end, start), rate); + diff = timespec_diff(rate, timespec_diff(end, start)); nanosleep(&diff, NULL); } |
