diff options
author | Maximilien Cuony <maximilien@theglu.org> | 2016-06-05 15:41:07 +0200 |
---|---|---|
committer | Maximilien Cuony <maximilien@theglu.org> | 2016-06-05 15:41:07 +0200 |
commit | 9d5ff73c98c9c2da27791813b18721e366d61912 (patch) | |
tree | 8e04750b031b8c6e8471981a9a6527fd2b900234 /src/common/src/Core/common.c | |
parent | b47c16bb91991d3cbf004de5b1d5f610a5b2c807 (diff) | |
download | glutte-o-matic-9d5ff73c98c9c2da27791813b18721e366d61912.tar.gz glutte-o-matic-9d5ff73c98c9c2da27791813b18721e366d61912.tar.bz2 glutte-o-matic-9d5ff73c98c9c2da27791813b18721e366d61912.zip |
Simulator: Input, outputs and FSM
Diffstat (limited to 'src/common/src/Core/common.c')
-rw-r--r-- | src/common/src/Core/common.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/src/Core/common.c b/src/common/src/Core/common.c index 476d1b4..2077a16 100644 --- a/src/common/src/Core/common.c +++ b/src/common/src/Core/common.c @@ -158,6 +158,11 @@ void common_init(void) static void common_increase_timestamp(TimerHandle_t t) { common_timestamp++; + +#ifdef SIMULATOR + //Simulator rate is 100ticks/s + common_timestamp += 9; +#endif } uint64_t timestamp_now(void) |