commit | c6cc41097ba204cae1b5539552dbb8bb91ec6f79 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin@peloton-tech.com> | Sun Feb 15 23:19:53 2015 -0800 |
committer | Austin Schuh <austin@peloton-tech.com> | Sun Feb 15 23:19:53 2015 -0800 |
tree | 26204c7b6570b22ffacbecad79591246fe3b2fb7 | |
parent | 6245093f477b2e3f994775a6a5d1ff0778028737 [diff] [blame] |
Made DMA compile again, and fixed analog bugs. Change-Id: Ib4ff5fd48eddfc1e6f15b97fe6fda977258c96f7
diff --git a/frc971/wpilib/encoder_and_potentiometer.h b/frc971/wpilib/encoder_and_potentiometer.h index 82fa9a8..2450841 100644 --- a/frc971/wpilib/encoder_and_potentiometer.h +++ b/frc971/wpilib/encoder_and_potentiometer.h
@@ -141,7 +141,7 @@ dma->Add(encoder_.get()); dma->Add(index_.get()); dma->Add(potentiometer_.get()); - dma->SetExternalTrigger(index_.get(), true, false); + dma->SetExternalTrigger(index_.get(), true, true); } private: