mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
chg: 'hf iclass sniff' - still problems with the dmabuffer
This commit is contained in:
parent
f0a5d10354
commit
6e93ed80a3
5 changed files with 49 additions and 48 deletions
|
@ -536,7 +536,7 @@ void Fpga_print_status(void) {
|
|||
}
|
||||
}
|
||||
|
||||
int FpgaGetCurrent() {
|
||||
int FpgaGetCurrent(void) {
|
||||
return downloaded_bitstream;
|
||||
}
|
||||
|
||||
|
@ -545,10 +545,9 @@ int FpgaGetCurrent() {
|
|||
// if HF, Disable SSC DMA
|
||||
// turn off trace and leds off.
|
||||
|
||||
void switch_off() {
|
||||
void switch_off(void) {
|
||||
if (MF_DBGLEVEL > 3) Dbprintf("switch_off");
|
||||
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
|
||||
//SpinDelay(100);
|
||||
if (downloaded_bitstream == FPGA_BITSTREAM_HF )
|
||||
FpgaDisableSscDma();
|
||||
set_tracing(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue