aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorMaximilien Cuony <maximilien@theglu.org>2016-06-12 20:52:42 +0200
committerMaximilien Cuony <maximilien@theglu.org>2016-06-12 20:52:42 +0200
commit9f5c0f90ed31d7235e003339c86522b82157b768 (patch)
treedd90d50bdbda71828462df440ad86c9e27930353 /src/common
parent30642594491bcb5d75714bc5b3d827aaede4b52a (diff)
downloadglutte-o-matic-9f5c0f90ed31d7235e003339c86522b82157b768.tar.gz
glutte-o-matic-9f5c0f90ed31d7235e003339c86522b82157b768.tar.bz2
glutte-o-matic-9f5c0f90ed31d7235e003339c86522b82157b768.zip
Fix timestamp issues
Diffstat (limited to 'src/common')
-rw-r--r--src/common/src/Core/common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/src/Core/common.c b/src/common/src/Core/common.c
index dc41f98..54067c1 100644
--- a/src/common/src/Core/common.c
+++ b/src/common/src/Core/common.c
@@ -150,7 +150,7 @@ int local_time(struct tm *time) {
void common_init(void)
{
common_timer = xTimerCreate("Timer",
- pdMS_TO_TICKS(10),
+ pdMS_TO_TICKS(8),
pdTRUE, // Auto-reload
NULL, // No unique id
common_increase_timestamp
@@ -176,7 +176,7 @@ static void common_increase_timestamp(TimerHandle_t __attribute__ ((unused))t)
}
#else
- common_timestamp += 10;
+ common_timestamp += 8;
#endif
}