summaryrefslogtreecommitdiff
path: root/toxav
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2020-03-14 03:37:28 +0000
committeriphydf <iphydf@users.noreply.github.com>2020-03-14 13:40:36 +0000
commit94d98ddd863279d5bf811d0107d73c373380dda2 (patch)
tree543a21f95e30c86e314dce4577f99421789bba0d /toxav
parentcb22b3df5f0b7509a37e091360ecbb4d8a9f2873 (diff)
Standardise on having a comma at the end of enums.
Most of our enums already have one. Some didn't. Tokstyle is going to require commas at the end of enumerator lists in enum definitions.
Diffstat (limited to 'toxav')
-rw-r--r--toxav/toxav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxav/toxav.c b/toxav/toxav.c
index 897c63c0..ba27fe27 100644
--- a/toxav/toxav.c
+++ b/toxav/toxav.c
@@ -274,7 +274,7 @@ void toxav_iterate(ToxAV *av)
274 av->dmsst += current_time_monotonic(av->m->mono_time) - start; 274 av->dmsst += current_time_monotonic(av->m->mono_time) - start;
275 275
276 if (++av->dmssc == 3) { 276 if (++av->dmssc == 3) {
277 av->dmssa = av->dmsst / 3 + 5 /* NOTE Magic Offset for precision */; 277 av->dmssa = av->dmsst / 3 + 5; /* NOTE Magic Offset 5 for precision */
278 av->dmssc = 0; 278 av->dmssc = 0;
279 av->dmsst = 0; 279 av->dmsst = 0;
280 } 280 }