예제 #1
0
파일: Pid.c 프로젝트: sethj00/mcuoneclipse
void PID_Line(uint16_t currLine, uint16_t setLine, bool forward) {
#if PL_HAS_LINE_PID
#if PL_GO_DEADEND_BW
  if (forward) {
    PID_LineCfg(currLine, setLine, forward, &lineFwConfig);
  } else {
    PID_LineCfg(currLine, setLine, forward, &lineBwConfig);
  }
#else
  (void)forward; /* not used */
  PID_LineCfg(currLine, setLine, forward, &lineFwConfig);
#endif
#endif
}
예제 #2
0
void PID_Line(uint16_t currLine, uint16_t setLine) {
  PID_LineCfg(currLine, setLine, &lineFwConfig);
}