]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
syntax suger
authoriceman1001 <iceman@iuse.se>
Fri, 14 Oct 2016 13:47:40 +0000 (15:47 +0200)
committericeman1001 <iceman@iuse.se>
Fri, 14 Oct 2016 13:47:40 +0000 (15:47 +0200)
and forgot to add method declaration to headerfile

armsrc/appmain.c
armsrc/apps.h

index 4d6a5fdfbd73313b08af7d6659c2bf7185116a41..f8d12da155809e3088510e13a1f7870c26eb2227 100644 (file)
@@ -182,9 +182,7 @@ static int ReadAdc(int ch)
 
 int AvgAdc(int ch) // was static - merlok
 {
-       int i;
-       int a = 0;
-
+       int i, a = 0;
        for(i = 0; i < 32; ++i)
                a += ReadAdc(ch);
 
index 87d0ffb2365ae167b84fa391ef993a66c839db42..d119d2396c60ca9388cb64f15457e8f68a9c434b 100644 (file)
@@ -46,6 +46,7 @@ void SamyRun(void);
 //void DbpIntegers(int a, int b, int c);
 void DbpString(char *str);
 void Dbprintf(const char *fmt, ...);
+void DbprintfEx(uint32_t cmd, const char *fmt, ...);
 void Dbhexdump(int len, uint8_t *d, bool bAsci);
 
 // ADC Vref = 3300mV, and an (10M+1M):1M voltage divider on the HF input can measure voltages up to 36300 mV
Impressum, Datenschutz