fix close
This commit is contained in:
부모
a87b0ffc69
커밋
1c73c39715
1개의 변경된 파일과 4개의 추가작업 그리고 0개의 파일을 삭제
|
@ -131,7 +131,11 @@ int ComRobot::Open(string usart) {
|
|||
* @return Success if above 0, failure if below 0
|
||||
*/
|
||||
int ComRobot::Close() {
|
||||
#ifdef __SIMULATION__
|
||||
return close(sock);
|
||||
#elif
|
||||
return close(fd);
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
불러오는 중…
Reference in a new issue