Датчики объема. Адреса CAN + 0x80

This commit is contained in:
2025-07-28 18:14:03 +03:00
parent 6d250bb68a
commit 111ec362b4
12 changed files with 774 additions and 791 deletions

View File

@@ -16,7 +16,6 @@
float ADC_table[ADC_MAX];
int prev_ok[ADC_MAX];
int ADC_skip[TPL_MAX];
float MesPerSec;
unsigned int COUNT_ONE_CANAL;
@@ -195,10 +194,8 @@ interrupt void adc_isr(void)
cwnt_ok[i] = 0;
}
if(ADC_skip[++cownt_cans]) cownt_cans++;
if( cownt_cans >= TPL_CANS+2)
cownt_cans=0;
if(++cownt_cans>= TPL_CANS+2)
cownt_cans = 0;
}
fin: