N K
/
analoghalls6
motor spins
Fork of analoghalls5 by
Diff: statusupdater.cpp
- Revision:
- 5:ee1e6c84c302
- Parent:
- 4:fdadf4a3577a
- Child:
- 6:99ee0ce47fb2
--- a/statusupdater.cpp Mon Mar 02 11:17:15 2015 +0000 +++ b/statusupdater.cpp Tue Mar 03 06:28:10 2015 +0000 @@ -45,10 +45,7 @@ for(;;) { - #ifdef __DEBUG - pc->printf("%f",LutSin(_motor->angle)); - pc->printf("\n\r"); - #endif + if (_time - last_fast > fast_us) { _motor->UpdateState();