diff pru_rtaudio.p @ 13:6adb088196a7

Fixed ADC bug; added a simple passthrough test
author andrewm
date Fri, 23 Jan 2015 15:17:09 +0000
parents a6beeba3a648
children 670be80463a3 0d80ff9e2227
line wrap: on
line diff
--- a/pru_rtaudio.p	Thu Jan 22 19:00:22 2015 +0000
+++ b/pru_rtaudio.p	Fri Jan 23 15:17:09 2015 +0000
@@ -672,7 +672,6 @@
       // Read ADC channels: result is always 2 commands behind
       // Start by reading channel 2 (result is channel 0) and go
       // to N+2, but masking the channel number to be between 0 and N-1
-      LDI reg_adc_data, 0
       ADD r8, r1, 2
       SUB r7, reg_num_channels, 1
       AND r8, r8, r7