Hallo Hicki,
vielleicht hilft Dir der link weiter.
http://de.wikipedia.org/wiki/Patch_%28Unix%29
Viele Grüße, TaiJiGong
#define USB_MASK (0x80000)
/* Start: TaiJiGong */
_kbd_read_keys_r2( physw_status );
remote_key = ( physw_status[ 2 ] & USB_MASK ) == USB_MASK;
if( remote_key )
{
remote_count += 1;
}
else if( remote_count )
{
usb_power = remote_count;
remote_count = 0;
}
if( conf.remote_enable )
{
physw_status[ 2 ] = physw_status[ 2 ] & ~(SD_READONLY_FLAG | USB_MASK);
}
else
{
physw_status[ 2 ] = physw_status[ 2 ] & ~SD_READONLY_FLAG;
}
_kbd_pwr_off();
/* End: TaiJiGong */
Mitglieder in diesem Forum: 0 Mitglieder und 25 Gäste