mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
Reduced the size of BigBuf to make more room for stack/vars
This commit is contained in:
parent
f81c82c342
commit
0422e2a471
5 changed files with 8 additions and 19 deletions
|
@ -123,6 +123,7 @@ void AcquireTiType(void)
|
|||
int n = 1250;
|
||||
|
||||
// clear buffer
|
||||
DbpIntegers((DWORD)BigBuf, sizeof(BigBuf), 0x12345678);
|
||||
memset(BigBuf,0,sizeof(BigBuf));
|
||||
|
||||
// Set up the synchronous serial port
|
||||
|
@ -218,17 +219,6 @@ void AcquireRawBitsTI(void)
|
|||
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
|
||||
}
|
||||
|
||||
// this is a dummy function to get around
|
||||
// a possible flash bug in the bootloader
|
||||
// delete once you've added more code.
|
||||
void DummyDummyDummy(void)
|
||||
{
|
||||
FpgaSendCommand(FPGA_CMD_SET_DIVISOR, 88); //134.8Khz
|
||||
FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_PASSTHRU);
|
||||
AcquireTiType();
|
||||
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
|
||||
}
|
||||
|
||||
// arguments: 64bit data split into 32bit idhi:idlo and optional 16bit crc
|
||||
// if crc provided, it will be written with the data verbatim (even if bogus)
|
||||
// if not provided a valid crc will be computed from the data and written.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue