Ignore:
Timestamp:
09/24/02 14:35:10 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/devdrv/shaftencoder.cc

    r1140 r1531  
    9393    char text[21];
    9494
    95     if (fPos!=fUpdPos)
     95    if (fPos!=fUpdPos && fLabel[0])
    9696    {
    9797        sprintf(text, "%ld", fPos);
     
    100100    }
    101101
    102     if (fVel!=fUpdVel)
     102    if (fVel!=fUpdVel && fLabel[1])
    103103    {
    104104        sprintf(text, "%d", fVel);
     
    107107    }
    108108
    109     if (fAcc!=fUpdAcc)
     109    if (fAcc!=fUpdAcc && fLabel[2])
    110110    {
    111111        sprintf(text, "%d", fAcc);
     
    279279void ShaftEncoder::StopDevice()
    280280{
    281     lout << "- Start Node " << GetNodeName() << endl;
     281    lout << "- Stop Node " << GetNodeName() << endl;
    282282    SendNMT(kNMT_STOP);
    283283}
Note: See TracChangeset for help on using the changeset viewer.