You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
704 B

#include "rgooseHardwareResourceUART.h"
#define LOG( X ) m_pLog->Log( "HW_UART", this, X )
#ifdef DEBUG
#define LOG_ERROR( X ) {\
char _tBfrErrMSG2w34[256];\
sprintf( _tBfrErrMSG2w34, "In file %s[%d] in func:%s %s",__FILE__, __LINE__, __func__, X );\
m_pLog->Log( "HW_UART", this, _LOG_ERROR, _tBfrErrMSG2w34 );\
}
#else
#define LOG_ERROR( X ) m_pLog->Log( "HW_UART", this, _LOG_ERROR, X );
#endif
argusHardwareResourceUART::argusHardwareResourceUART( uint32_t id ):argusHardwareResource(id, HARDWARE_UART ){
};
argusHardwareResourceUART::~argusHardwareResourceUART(){
};
#undef LOG
#undef LOG_ERROR