pastebin - collaborative debugging tool
eckelmann.kpaste.net RSS


quantron |LH5000_GetComState()| src
Posted by Anonymous on Thu 17th Jan 2019 15:08
raw | new post

  1. *******************************************************************************/
  2. int LH5000_GetComState( unsigned char *pucComState )
  3. {
  4.    /* Timoutueberwachung */
  5.    if (( time(NULL) - iTimeRx ) > iTimeoutValue ) {
  6.  
  7.       /* Timeout hat zugeschlagen */
  8.       *pucComState = LH5000_TIMEOUT;
  9.       return 0;
  10.    }
  11.  
  12.    /* Kommunikationsstatus melden */
  13.    *pucComState = ucLH5000_ComState;
  14.    
  15.    return 0;
  16.  
  17. }  /* eofn: LH5000_GetComState */

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}





All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at