From: marshmellow42 Date: Sat, 20 Feb 2016 15:22:45 +0000 (-0500) Subject: remove errant 'void' X-Git-Tag: v2.3.0~4^2~1 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/29b757391af74fedac2486c9df18d4e1d780f784?ds=sidebyside;hp=--cc remove errant 'void' have to watch my copy and paste... --- 29b757391af74fedac2486c9df18d4e1d780f784 diff --git a/armsrc/lfops.c b/armsrc/lfops.c index bb298f79..14b62673 100644 --- a/armsrc/lfops.c +++ b/armsrc/lfops.c @@ -38,7 +38,7 @@ void ModThenAcquireRawAdcSamples125k(uint32_t delay_off, uint32_t period_0, uint sample_config sc = { 0,0,1, divisor_used, 0}; setSamplingConfig(&sc); //clear read buffer - BigBuf_Clear_keep_EM(void); + BigBuf_Clear_keep_EM(); /* Make sure the tag is reset */ FpgaDownloadAndGo(FPGA_BITSTREAM_LF); @@ -755,7 +755,7 @@ void CmdHIDdemodFSK(int findone, int *high, int *low, int ledcontrol) LFSetupFPGAForADC(95, true); //clear read buffer - BigBuf_Clear_keep_EM(void); + BigBuf_Clear_keep_EM(); while(!BUTTON_PRESS() && !usb_poll_validate_length()) { @@ -843,7 +843,7 @@ void CmdAWIDdemodFSK(int findone, int *high, int *low, int ledcontrol) size_t size; int idx=0; //clear read buffer - BigBuf_Clear_keep_EM(void); + BigBuf_Clear_keep_EM(); // Configure to go in 125Khz listen mode LFSetupFPGAForADC(95, true); @@ -935,7 +935,7 @@ void CmdEM410xdemod(int findone, int *high, int *low, int ledcontrol) uint32_t hi=0; uint64_t lo=0; //clear read buffer - BigBuf_Clear_keep_EM(void); + BigBuf_Clear_keep_EM(); // Configure to go in 125Khz listen mode LFSetupFPGAForADC(95, true); @@ -996,7 +996,7 @@ void CmdIOdemodFSK(int findone, int *high, int *low, int ledcontrol) uint8_t facilitycode=0; uint16_t number=0; //clear read buffer - BigBuf_Clear_keep_EM(void); + BigBuf_Clear_keep_EM(); // Configure to go in 125Khz listen mode LFSetupFPGAForADC(95, true); @@ -1090,7 +1090,7 @@ void T55xxWriteBit(int bit) { void T55xxResetRead(void) { LED_A_ON(); //clear buffer now so it does not interfere with timing later - BigBuf_Clear_ext(false); + BigBuf_Clear_keep_EM(); // Set up FPGA, 125kHz LFSetupFPGAForADC(95, true); diff --git a/armsrc/pcf7931.c b/armsrc/pcf7931.c index 73f18768..165319ca 100644 --- a/armsrc/pcf7931.c +++ b/armsrc/pcf7931.c @@ -30,7 +30,7 @@ int DemodPCF7931(uint8_t **outBlocks) { int lmin=128, lmax=128; uint8_t dir; //clear read buffer - BigBuf_Clear_keep_EM(void); + BigBuf_Clear_keep_EM(); LFSetupFPGAForADC(95, true); DoAcquisition_default(0, true);