Some new fields now inflight modifiable: DR/EXPOS expo / weight, MIXER weight / offset

This commit is contained in:
bsongis
2012-02-22 17:56:38 +00:00
parent 1446ae8ada
commit 76406f1f9c
9 changed files with 66 additions and 38 deletions
+7 -7
View File
@@ -2288,19 +2288,19 @@ int main(void)
EIMSK = (3<<INT5) | (3<<INT2); // enable the two rot. enc. ext. int. pairs.
/***************************************************/
/*
* SOMO set-up (V4 board only)
*/
OCR4A = 0x7d;
TCCR4B = (1 << WGM42) | (3<<CS40); // CTC OCR1A, 16MHz / 64 (4us ticks)
#endif
#if defined (PCBV4)
OCR4A = 0x7d;
TCCR4B = (1 << WGM42) | (3<<CS40); // CTC OCR1A, 16MHz / 64 (4us ticks)
#endif
startPulses();
wdt_enable(WDTO_500MS);
/*** Keep this code block directly before the main loop ****/
/***********************************************************/
while(1){
while(1) {
uint16_t t0 = getTmr16KHz();
getADC[g_eeGeneral.filterInput]();