mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
syntax suger
and forgot to add method declaration to headerfile
This commit is contained in:
parent
1f247f6ac6
commit
b069fb8bba
2 changed files with 2 additions and 3 deletions
|
@ -182,9 +182,7 @@ static int ReadAdc(int ch)
|
||||||
|
|
||||||
int AvgAdc(int ch) // was static - merlok
|
int AvgAdc(int ch) // was static - merlok
|
||||||
{
|
{
|
||||||
int i;
|
int i, a = 0;
|
||||||
int a = 0;
|
|
||||||
|
|
||||||
for(i = 0; i < 32; ++i)
|
for(i = 0; i < 32; ++i)
|
||||||
a += ReadAdc(ch);
|
a += ReadAdc(ch);
|
||||||
|
|
||||||
|
|
|
@ -46,6 +46,7 @@ void SamyRun(void);
|
||||||
//void DbpIntegers(int a, int b, int c);
|
//void DbpIntegers(int a, int b, int c);
|
||||||
void DbpString(char *str);
|
void DbpString(char *str);
|
||||||
void Dbprintf(const char *fmt, ...);
|
void Dbprintf(const char *fmt, ...);
|
||||||
|
void DbprintfEx(uint32_t cmd, const char *fmt, ...);
|
||||||
void Dbhexdump(int len, uint8_t *d, bool bAsci);
|
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
|
// ADC Vref = 3300mV, and an (10M+1M):1M voltage divider on the HF input can measure voltages up to 36300 mV
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue