more fixes

This commit is contained in:
2026-11-19 11:59:58 +03:00
parent 9dcfafa5e4
commit 01a8f232f7
10 changed files with 82 additions and 43 deletions

View File

@@ -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]);