FACT++  1.0
bool ConnectionFTM::SetVal ( uint16_t *  dest,
uint32_t  val,
uint32_t  max 
)
inline

Definition at line 898 of file ftmctrl.cc.

References data.

899  {
900  if (val>max)
901  return false;
902 
903  if (*dest==val)
904  return true;
905 
907 
908  dest = reinterpret_cast<uint16_t*>(&data) + (dest - reinterpret_cast<uint16_t*>(&fStaticData));
909 
910  *dest = val;
911 
913 
914  return true;
915  }
FTM::StaticData fBufStaticData
Definition: ftmctrl.cc:57
FTM::StaticData fStaticData
Definition: ftmctrl.cc:53
float data[4 *1440]
void CmdSendStatDat(const FTM::StaticData &data)
Definition: ftmctrl.cc:510