configuring fpga and dma

This commit is contained in:
merlokk 2022-06-25 14:56:24 +03:00
commit e3a50e0e1e
3 changed files with 79 additions and 3 deletions

View file

@ -1389,7 +1389,7 @@ static void PacketReceived(PacketCommandNG *packet) {
case CMD_HF_ACQ_RAW_ADC: {
uint32_t samplesCount = 0;
memcpy(&samplesCount, packet->data.asBytes, 4);
HfReadADC(samplesCount);
HfReadADC(samplesCount, true);
break;
}
#endif