Fix updating of isRunning after DTR setting and clearing
commitb3ab1e845b9ebc3e68b68d4b4ee0635287be033f
authorJonas Fonseca <fonseca@diku.dk>
Wed, 5 Mar 2008 17:57:30 +0000 (5 18:57 +0100)
committerJonas Fonseca <fonseca@diku.dk>
Wed, 5 Mar 2008 17:57:30 +0000 (5 18:57 +0100)
tree41975ea9b721d08c2898466d1e81de973c4c039b
parentffe3a3eb77e01e43ae96e0bf39d002f18d872a59
Fix updating of isRunning after DTR setting and clearing

Correctly set isRunning to the inverted value of the DTR pin: when the
serial DTR pin is set the reset pin is high on the mote. The regression
was introduced back in commit 86d72fc720661c67ccd741aac34665bae955a41f.
diku_mch/SerialControl.cc