 	uint8_t temp8;
 	uint16_t temp16;
 	static bool markToggle = false;
+	bool isConnected = false;
+
+	if (SerialUSB) isConnected = true;
 
 	//there is no switch debouncing here at the moment
 	//if mark triggering causes bounce then debounce this later on.
+	/*
 	if (getDigital(0)) {
 		if (!markToggle) {
 			markToggle = true;

  }
	Logger::loop();
	//this should still be here. It checks for a flag set during an interrupt
	sys_io_adc_poll();
}


		}
	}
	else markToggle = false;
	*/

  while (Can0.available()) {
	Can0.read(incoming);
	toggleRXLED();
	if (isConnected) sendFrameToUSB(incoming, 0);
	if (SysSettings.logToFile) sendFrameToFile(incoming, 0);
		//these two lines are for testing. Don't uncomment them or you get slapped.
        //incoming.id += 1;
        //Can0.sendFrame(incoming);
        //sendFrameToUSB(incoming, 0);
  }

  while (Can1.available()) {
	Can1.read(incoming); 
	//toggleRXLED();
	if (isConnected) sendFrameToUSB(incoming, 1);
	//if (SysSettings.logToFile) sendFrameToFile(incoming, 1);
  }

  if (isConnected && SerialUSB.available() > 0) {
	in_byte = SerialUSB.read();
	if (in_byte != -1) { //false alarm....
	   switch (state) {
