Example #1
0
/**
 * Removes the usb_mode label
 * Disables the usb connection
 * Quits to 'UsbConncetion'
 * @return 0 on success
 */
int BackToUsb()
{
	vlfGuiRemoveText(usb_mode);
	disableUsb();
	UsbConnection(usb_position);
	return 0;
}
Example #2
0
void USB_Toggle()
{	
	oslReadKeys();
	
	if (osl_keys->pressed.select)
	{
		enableUsb();
	}
	
	else if (osl_keys->pressed.select)
	{
		disableUsb();
	}
}