SMARTPORT2SERIAL: added some define to prevent compiling it if DEBUG is enabled