summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Reeder2018-02-01 11:43:24 -0600
committerJason Reeder2018-02-01 11:43:24 -0600
commitef8b1fed0f3479c4028d9043711dd83b6ff0c522 (patch)
treed28cd553a6c40b2ffd0d73cdb59c5178cb4dd5be
parent870a384a9440fe34a3a603fb37f0b8dd7922ec49 (diff)
downloadtida01555-ef8b1fed0f3479c4028d9043711dd83b6ff0c522.tar.gz
tida01555-ef8b1fed0f3479c4028d9043711dd83b6ff0c522.tar.xz
tida01555-ef8b1fed0f3479c4028d9043711dd83b6ff0c522.zip
Fix channel configuration comment
Signed-off-by: Jason Reeder <jreeder@ti.com>
-rw-r--r--PRU_ADS8688_Controller/PRU_ADS8688_Controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PRU_ADS8688_Controller/PRU_ADS8688_Controller.c b/PRU_ADS8688_Controller/PRU_ADS8688_Controller.c
index 6e51031..99adfbe 100644
--- a/PRU_ADS8688_Controller/PRU_ADS8688_Controller.c
+++ b/PRU_ADS8688_Controller/PRU_ADS8688_Controller.c
@@ -217,7 +217,7 @@ adc_init() {
217 receive_data(); 217 receive_data();
218 */ 218 */
219 219
220 /* Only enable channel 6 on all devices */ 220 /* Enable all 8 channels on all devices */
221 config_buf[0] = PROG_REG(AUTO_SEQ_EN, WRITE, 0xFF); 221 config_buf[0] = PROG_REG(AUTO_SEQ_EN, WRITE, 0xFF);
222 config_buf[1] = PROG_REG(AUTO_SEQ_EN, WRITE, 0xFF); 222 config_buf[1] = PROG_REG(AUTO_SEQ_EN, WRITE, 0xFF);
223 config_buf[2] = PROG_REG(AUTO_SEQ_EN, WRITE, 0xFF); 223 config_buf[2] = PROG_REG(AUTO_SEQ_EN, WRITE, 0xFF);