Remove dead code which is supposed to retrieve SP, but not sure if it actually does.
This commit is contained in:
@@ -6,7 +6,6 @@ void* getSP(void)
|
|||||||
{
|
{
|
||||||
void *sp;
|
void *sp;
|
||||||
__asm__ __volatile__ ("mov %0, sp" : "=r"(sp));
|
__asm__ __volatile__ ("mov %0, sp" : "=r"(sp));
|
||||||
// __asm__ __volatile__ ("mrs %0, msp" : "=r"(sp));
|
|
||||||
return sp;
|
return sp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user