Generic tracing pt.3 : reworking how iso14443b-traces are stored in ARM-memory

This commit is contained in:
Martin Holst Swende 2015-01-21 23:53:40 +01:00
commit 9e8255d4e9
5 changed files with 32 additions and 24 deletions

View file

@ -986,7 +986,7 @@ void UsbPacketReceived(uint8_t *packet, int len)
void __attribute__((noreturn)) AppMain(void)
{
SpinDelay(100);
clear_trace();
if(common_area.magic != COMMON_AREA_MAGIC || common_area.version != 1) {
/* Initialize common area */
memset(&common_area, 0, sizeof(common_area));