diff options
author | 2019-11-18 20:07:06 +0000 | |
---|---|---|
committer | 2019-11-18 20:07:06 +0000 | |
commit | 8374fce0dfbc945f878b9c0f5525ce8d48aaa428 (patch) | |
tree | 3638bffb95fd61b32e2281e3336152f71eb7642f /macros/src/codegen.rs | |
parent | 725d5e1aa9d0276783765dcabe5430f03ea13dd5 (diff) | |
parent | ebd62215ff05bd0a43a17539e39b92fac8d024cb (diff) | |
download | rtic-8374fce0dfbc945f878b9c0f5525ce8d48aaa428.tar.gz rtic-8374fce0dfbc945f878b9c0f5525ce8d48aaa428.tar.zst rtic-8374fce0dfbc945f878b9c0f5525ce8d48aaa428.zip |
Merge #278
278: Cyccnt r=texitoi a=perlindgren
The subtractions in `elapsed` and `duration` may cause an overflow panic in debug mode. This is solved by using wrapping arithmetics.
Co-authored-by: Per Lindgren <per.lindgren@ltu.se>
Diffstat (limited to 'macros/src/codegen.rs')
0 files changed, 0 insertions, 0 deletions