7
mirror of https://github.com/EEVengers/ThunderScope.git synced 2025-04-11 23:19:16 +00:00

Changed ch_on to init to bool false

This commit is contained in:
Aleksa 2021-03-25 21:06:08 -04:00
parent 78bd8342d8
commit 114650a439

View File

@ -594,7 +594,7 @@ PCIeLink::PCIeLink(boost::lockfree::queue<buffer*, boost::lockfree::fixed_sized<
currentBoardState.adc_in_sel_34[3] = 0x02; //default CH1
for(int i = 0; i < 4; i++) {
currentBoardState.ch_is_on[i] = 0;
currentBoardState.ch_is_on[i] = false;
//init dac state
currentBoardState.dac[i][0] = 0xFF;
currentBoardState.dac[i][1] = 0xC2;