Bayley Wang
/
foc-ed_in_the_bot_compact
robot
Diff: PwmIn/PwmIn.cpp
- Revision:
- 150:08c13bfc7417
- Parent:
- 141:ccd21d7fbd1a
- Child:
- 151:5bbb15351798
--- a/PwmIn/PwmIn.cpp Thu May 04 12:54:00 2017 +0000 +++ b/PwmIn/PwmIn.cpp Thu May 04 14:23:13 2017 +0000 @@ -51,7 +51,8 @@ return; } - if (usecs_new <= usec_crazy_hi && usecs_new >= usec_crazy_low && risen) usecs = usecs_new; + //if (usecs_new <= usec_crazy_hi && usecs_new >= usec_crazy_low && risen) usecs = usecs_new; + if (risen) usecs = usecs_new; risen = false; }