Add options to 'lf sniff' for repeated acquisitions

This commit is contained in:
Philippe Teuwen 2020-09-20 11:12:38 +02:00
commit 35e276f8ed
6 changed files with 91 additions and 15 deletions

View file

@ -397,9 +397,9 @@ uint32_t SampleLF(bool verbose, uint32_t sample_size) {
* Initializes the FPGA for sniffer-mode (field off), and acquires the samples.
* @return number of bits sampled
**/
uint32_t SniffLF(void) {
uint32_t SniffLF(bool verbose, uint32_t sample_size) {
BigBuf_Clear_ext(false);
return ReadLF(false, true, 0);
return ReadLF(false, verbose, sample_size);
}
/**