#ifdef USB_LOGGER if(cSCI1rxFlag) // Rx Flag { if( !(cSystemFlag & GWF_SCIDP) ) // If device not present { USBFileOpen("test.txt"); // Open File cSystemFlag |= GWF_SCIDP; // Set Device Present } if( !(cSystemFlag & GWF_SCIRX) ) // If we are not admist a burst { iUSBSendCommand(MC_e,NULL); cSystemFlag |= GWF_SCIRX; // Set that we are in a burst } cSCI1rxFlag = 0; // Clear the Rx Flag }
if(cSystemFlag & GWF_SCIRX) // If we are not admist a burst { iUSBSendCommand(MC_e,NULL); }