Firmware/FFBoard/UserExtensions/Src/FFBoardMainCommandThread.cpp
/*
 * Adds a buffer to the parser
 * if it returns true resume the thread
 */
Adds a buffer to the parser
if it returns true resume the thread
Adds a buffer to the parser if it returns true resume the thread
bool FFBoardMainCommandThread::addBuf(char* Buf, uint32_t *Len,bool clearReply = true){
	bool res = this->parser.add(Buf, Len);
	if(res){
		parserReady = true;
		this->clearReply = clearReply;
		this->parserSem.Give();
	}
	return res;
}
bool FFBoardMainCommandThread :: addBuf ( char * Buf , uint32_t * Len , bool clearReply = true ) { bool res = this -> parser . add ( Buf , Len ) ; if ( res ) { parserReady = true ; this -> clearReply = clearReply ; this -> parserSem . Give ( ) ; } return res ; }
Adds a buffer to the parser
 if it returns true resume the thread
Adds a buffer to the parser if it returns true resume the thread