mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Fix data segement. You may now use stuff like int foo = 1; in global context (as opposed to both int foo = 0; which is bss and const int foo = 1; which is rodata) without having the sky come
crashing down
This commit is contained in:
parent
715d74c5be
commit
1b2c893632
4 changed files with 34 additions and 9 deletions
|
@ -692,9 +692,8 @@ void UsbPacketReceived(BYTE *packet, int len)
|
|||
}
|
||||
}
|
||||
|
||||
void AppMain(void)
|
||||
void __attribute__((noreturn)) AppMain(void)
|
||||
{
|
||||
memset(BigBuf,0,sizeof(BigBuf));
|
||||
SpinDelay(100);
|
||||
|
||||
if(common_area.magic != COMMON_AREA_MAGIC || common_area.version != 1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue