Show
Ignore:
Timestamp:
07/14/09 20:00:47 (4 years ago)
Author:
atorf
Message:

little cleanup

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/atorf/NXC/MotorControl2/ControllerCore.nxc

    r657 r658  
     1//#!C 
    12/* 
    23% Part of MotorControl containing the main PD-controller function, to be 
     
    134135//     * tacholimit already... 
    135136 
    136     //TODO optimization: instead of passing speedreg and doing calculations THEN, 
    137     // do the if before and use MotorCmdSingleNoReg / MotorCmdSingleReg 
    138137    // do not yet enable speedreg 
    139138    #ifdef RUNMOTOR2_SYNCMODE 
     
    144143     
    145144 
    146     //TODO remove this debug info... 
    147145    #ifdef ENABLEDEBUGGING_OLDLCDTIMING 
    148             motorStartedTime = CurrentTick() - receivedMsgTime; // NEW DEBUG 
    149         #endif 
     146        motorStartedTime = CurrentTick() - receivedMsgTime; // NEW DEBUG 
     147    #endif 
    150148 
    151149