neug follow update of chopstx

This commit is contained in:
NIIBE Yutaka
2016-05-13 22:31:09 +09:00
parent eebd40d946
commit 106b042e75
3 changed files with 7 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
2016-05-13 Niibe Yutaka <gniibe@fsij.org>
* src/neug.c (rng): Call chopstx_claim_irq before adc_start.
Remove call of chopstx_release_irq.
2016-05-12 Niibe Yutaka <gniibe@fsij.org>
* chopstx: Update

Submodule chopstx updated: fabd271196...a82acac8df

View File

@@ -582,8 +582,8 @@ rng (void *arg)
chopstx_cond_init (&mode_cond);
/* Enable ADCs */
adc_start ();
chopstx_claim_irq (&adc_intr, INTR_REQ_DMA1_Channel1);
adc_start ();
ep_init (mode);
while (!rng_should_terminate)
@@ -641,7 +641,6 @@ rng (void *arg)
}
adc_stop ();
chopstx_release_irq (&adc_intr);
return NULL;
}