]> rtime.felk.cvut.cz Git - eurobot/public.git/commit
robofsm: Fix problem with timespec_substract function.
authorMichal Vokac <vokac.m@gmail.com>
Fri, 3 Jun 2011 09:37:56 +0000 (11:37 +0200)
committerMichal Vokac <vokac.m@gmail.com>
Fri, 3 Jun 2011 09:37:56 +0000 (11:37 +0200)
commit47bd16726109998dd07c2fdf09677a47c712dc0c
tree6d6576ba2a62ec6d0c17c57daa3007c4de0ebc12
parent5b0a9823a49fa16606a0445677dd119e7af3bf32
robofsm: Fix problem with timespec_substract function.

timespec_substract function slightly changed value in start time structure,
(it puts negative value in start time nsec variable) which causes problem when WAIT macro (clock_nanosleep function) was called again.
src/robofsm/match-timing.c