diff options
author | Maximilien Cuony <maximilien@theglu.org> | 2016-06-05 22:29:22 +0200 |
---|---|---|
committer | Maximilien Cuony <maximilien@theglu.org> | 2016-06-05 22:29:22 +0200 |
commit | 9e6e9714a498467074b51124a9353002d9087a46 (patch) | |
tree | 6e9c02a0abcdd4cd9cc4ded59a77a28031e995eb /src/common/src/Core/common.c | |
parent | 765b06950c1a5b55bb96a29f9da3c136f790a0f2 (diff) | |
parent | e49df0eb82f74cf86d801f8b0273d4825aa426fd (diff) | |
download | glutte-o-matic-9e6e9714a498467074b51124a9353002d9087a46.tar.gz glutte-o-matic-9e6e9714a498467074b51124a9353002d9087a46.tar.bz2 glutte-o-matic-9e6e9714a498467074b51124a9353002d9087a46.zip |
Merge branch 'master' of github.com:Glutte/glutt-o-matique
Diffstat (limited to 'src/common/src/Core/common.c')
-rw-r--r-- | src/common/src/Core/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/src/Core/common.c b/src/common/src/Core/common.c index 6f608ad..77d3360 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", - portTICK_PERIOD_MS, + pdMS_TO_TICKS(10), pdTRUE, // Auto-reload NULL, // No unique id common_increase_timestamp @@ -176,7 +176,7 @@ static void common_increase_timestamp(TimerHandle_t t) } #else - common_timestamp++; + common_timestamp += 10; #endif } |