]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/start.c
chg: clock marking for ask/fsk/psk, using @marshmellow42 's addition to get starti...
[proxmark3-svn] / armsrc / start.c
index f1e58ab0ed9359e80714c4be2fd146494b9fa4d4..d2e4ed4c4acad81b1e895abab674c8eed8f7109c 100644 (file)
@@ -9,6 +9,9 @@
 // with the linker script.
 //-----------------------------------------------------------------------------
 
+#ifndef __START_H
+#define __START_H
+
 #include "proxmark3.h"
 #include "apps.h"
 #include "zlib.h"
@@ -18,7 +21,6 @@ static uint8_t *next_free_memory;
 extern struct common_area common_area;
 extern char __data_src_start__, __data_start__, __data_end__, __bss_start__, __bss_end__;
 
-
 static voidpf inflate_malloc(voidpf opaque, uInt items, uInt size)
 {
        uint8_t *allocated_memory;
@@ -28,11 +30,9 @@ static voidpf inflate_malloc(voidpf opaque, uInt items, uInt size)
        return allocated_memory;
 }
 
-
 static void inflate_free(voidpf opaque, voidpf address)
 {
        // nothing to do
-       
 }
 
 static void uncompress_data_section(void)
@@ -60,7 +60,6 @@ static void uncompress_data_section(void)
        common_area.arg1 = data_section.total_in;
 }
 
-
 void __attribute__((section(".startos"))) Vector(void)
 {
        /* Stack should have been set up by the bootloader */
@@ -80,6 +79,6 @@ void __attribute__((section(".startos"))) Vector(void)
        // end = &__data_end__;
        // while(dst < end) *dst++ = *src++;
 
-
        AppMain();
 }
+#endif
\ No newline at end of file
Impressum, Datenschutz