diff --git a/sources/xhdi_sd.c b/sources/xhdi_sd.c index f1a17be..6c8cf72 100644 --- a/sources/xhdi_sd.c +++ b/sources/xhdi_sd.c @@ -34,7 +34,6 @@ static xhdi_call_fun old_vector = NULL; __attribute__((__interrupt__)) xhdi_call_fun xhdi_sd_install(xhdi_call_fun ov) { old_vector = ov; - uint32_t *_drvbits = (uint32_t *) 0x4c2; /* THIS does not work: return (xhdi_call_fun) &xhdi_call; */ __asm__ __volatile__ ( @@ -44,8 +43,6 @@ __attribute__((__interrupt__)) xhdi_call_fun xhdi_sd_install(xhdi_call_fun ov) : [xhdi_call]"g"(xhdi_call) : "d1","memory"); - *_drvbits |= (1 << ('S' - 'A')); - return (xhdi_call_fun) xhdi_call; }