8 uint8_t sample_buf
[SAMPLE_BUFFER_SIZE
];
10 void GetFromBigBuf(uint8_t *dest
, int bytes
)
15 PrintAndLog("bad len in GetFromBigBuf");
19 for (int i
= 0; i
< n
; i
+= 12) {
20 UsbCommand c
= {CMD_DOWNLOAD_RAW_ADC_SAMPLES_125K
, {i
, 0, 0}};
22 WaitForResponse(CMD_DOWNLOADED_RAW_ADC_SAMPLES_125K
);
23 memcpy(dest
+(i
*4), sample_buf
, 48);