fix compile issue with gcc 9.1.0 (issue #868)

This commit is contained in:
pwpiwi 2019-09-21 13:56:01 +01:00 committed by GitHub
commit 70dbfc3fc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 15 deletions

View file

@ -1,5 +1,5 @@
#ifndef LFSAMPLING_H
#define LFSAMPLING_H
#ifndef LFSAMPLING_H__
#define LFSAMPLING_H__
/**
* acquisition of Cotag LF signal. Similar to other LF, since the Cotag has such long datarate RF/384
@ -45,7 +45,7 @@ uint32_t DoAcquisition_config(bool silent, int sample_size);
* Setup the FPGA to listen for samples. This method downloads the FPGA bitstream
* if not already loaded, sets divisor and starts up the antenna.
* @param divisor : 1, 88> 255 or negative ==> 134.8 KHz
* 0 or 95 ==> 125 KHz
* 0 or 95 ==> 125 KHz
*
**/
void LFSetupFPGAForADC(int divisor, bool lf_field);
@ -61,9 +61,9 @@ void LFSetupFPGAForADC(int divisor, bool lf_field);
* @brief setSamplingConfig
* @param sc
*/
void setSamplingConfig(sample_config *sc);
void setSamplingConfig(uint8_t *config_data);
sample_config * getSamplingConfig();
sample_config *getSamplingConfig();
void printConfig();