mirror of
https://github.com/eddyem/BTA_utils.git
synced 2026-11-23 22:30:20 +03:00
more fixes
This commit is contained in:
@@ -210,7 +210,7 @@ void io_process(){
|
||||
}
|
||||
#ifdef EBUG
|
||||
for(int i = 0; i < NADCCHNLS; ++i){
|
||||
if(abs(adcbuf[i] - ADCBuf[i]) < ADCTHRESH) continue;
|
||||
if(abs((int)adcbuf[i] - (int)ADCBuf[i]) < ADCTHRESH) continue;
|
||||
// GotNewADC = TRUE; break;
|
||||
|
||||
printf("ADC input %d changed to %d\n", i, adcbuf[i]);
|
||||
|
||||
Reference in New Issue
Block a user