Skip to content

Commit

Permalink
docs: comment change. 📝
Browse files Browse the repository at this point in the history
  • Loading branch information
Joker2770 committed Mar 2, 2020
1 parent 25c9d35 commit daaf59b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ A Cross-platform serial test tool.
## Dependencies
Required:
* [cmake](http://www.cmake.org) - buildsystem
* g++ (>= 7.4.0 recommend)
* gcc (>= 7.4.0 recommend)
* g++ (>= 7.4.0 recommended)
* gcc (>= 7.4.0 recommended)

## Build on Linux
~~~
Expand Down
4 changes: 0 additions & 4 deletions sptsrc/port_control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,6 @@ void my_serial_ctrl::show_port_set()
this->m_serial->getParity(),
this->m_serial->getStopbits(),
this->m_serial->getFlowcontrol()
//true == this->m_serial->getCTS()?1:0,
//true == this->m_serial->getDSR() ? 1 : 0,
//true == this->m_serial->getCD() ? 1 : 0,
//true == this->m_serial->getRI() ? 1 : 0
);
printf("---------------------------------------------\n");
}
Expand Down
2 changes: 1 addition & 1 deletion sptsrc/port_control.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ comment: StringToHex, e.g.: "12AC0D" -> 0x12 0xAC 0x0D
pDest(out): destination string.
uilen(out): count of characters of destination string.
return: uilen.
caution: none.
caution: The source string only '0-9 a-z A-Z' include, that is can not include '~%$#.,/][\*...', etc. inside the source string.
*/
int StringToHex(char *pSrc, unsigned char *pDest, unsigned int *uilen);

Expand Down

0 comments on commit daaf59b

Please sign in to comment.