core: fix erroneous VBR address choice in gint_switch()

This one never worked even by accident, it just went untested for a
couple hours.
This commit is contained in:
Lephe 2020-06-18 22:12:08 +02:00
parent bf2d407f1d
commit 91fd2e5e6a
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ void gint_switch(void (*function)(void))
{
if(drv->wait) drv->wait();
}
gint_setvbr((uint32_t)&gint_vbr, gint_switch_in);
gint_setvbr(gint_vbr, gint_switch_in);
}
int __Timer_Install(int id, void (*handler)(void), int delay);