Fix: wrong period operation without unit multiplicator
authorRomain Forlot <romain.forlot@iot.bzh>
Sun, 2 Apr 2017 21:46:56 +0000 (23:46 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Tue, 11 Apr 2017 10:41:42 +0000 (12:41 +0200)
commit745ff334267ab92051bc8261a7daa0165c700fac
tree34b32afe9fdad423118f3799c6dfb2e5d768f168
parentdcc4af2d7e74762ec8d1caf04657b47fca560fed
Fix: wrong period operation without unit multiplicator

Possible divsion by 0. Don't know if it is good to keep different time unit
instead having one unit for project...

Change-Id: I73cfc1ab72d3420d337f10a9b79bdf305a3a2bc7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
src/diagnostic/diagnostic-manager.cpp
src/utils/timer.cpp
src/utils/timer.hpp